fix #H148 - applying a pickaxe doesn't respect pushweapon
From a bug report, applying a pick-axe will wield it in place of the primary weapon but wouldn't update the alternate weapon. Make objects which become wielded when applied (pick, lamp, whip, grappling hook, pole-arm) honor the pushweapon option (where the previously wielded weapon becomes the alternate weapon without use of 'x' command) the same as when explicitly wielded. Old behavior matched the documentation, but that seemed overly restrictive.
This commit is contained in:
@@ -241,6 +241,7 @@ remove makedefs.c dependency that time_t and long are the same size
|
||||
terminal window set to 21 lines can cause a crash during player selection
|
||||
menus; have bot() check for valid youmonst.data
|
||||
free storage used to hold region messages in free_region()
|
||||
honor pushweapon when applying a tool or weapon causes it to become wielded
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user