setuwep, et al, cleanup

This commit is contained in:
cohrs
2002-01-10 06:52:05 +00:00
parent 46bd9b925c
commit 631df10a34
6 changed files with 8 additions and 16 deletions

View File

@@ -84,11 +84,6 @@ STATIC_DCL int FDECL(ready_weapon, (struct obj *));
* 5. Emptying the slot, by passing a null object. NEVER pass
* zeroobj!
*
* Note: setuwep() with a null obj, and uwepgone(), are NOT the same!
* Sometimes unwielding a weapon can kill you, and lifesaving will then
* put it back into your hand. If lifesaving is permitted to do this,
* use setwuep((struct obj *)0); otherwise use uwepgone().
*
* If the item is being moved from another slot, it is the caller's
* responsibility to handle that. It's also the caller's responsibility
* to print the appropriate messages.
@@ -443,7 +438,6 @@ can_twoweapon()
Your("%s from your %s!", aobjnam(obj, "slip"), str);
if (!Glib)
obj->bknown = TRUE;
setuswapwep((struct obj *) 0);
dropx(obj);
} else
return (TRUE);