Fix dangling chain bug.
If a punished player picks up the iron ball, gets engulfed and saves, then the saved game will have missed saving the dangling chain since it was not on the floor or in the inventory. Upon restoring the saved game, the game will be in a bad state since the ball will be worn but the chain will be missing.
This commit is contained in:
@@ -436,6 +436,7 @@ enum bodypart_types {
|
||||
#define POTION_OCCUPANT_CHANCE(n) (13 + 2 * (n))
|
||||
#define WAND_BACKFIRE_CHANCE 100
|
||||
#define BALL_IN_MON (u.uswallow && uball && uball->where == OBJ_FREE)
|
||||
#define CHAIN_IN_MON (u.uswallow && uchain && uchain->where == OBJ_FREE)
|
||||
#define NODIAG(monnum) ((monnum) == PM_GRID_BUG)
|
||||
|
||||
/* Flags to control menus */
|
||||
|
||||
Reference in New Issue
Block a user