Skip to content

Commit

Permalink
Fix BStealth (caused by Stomping check).
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Dec 11, 2023
1 parent 6485df1 commit 58e5326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/youprop.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@
#define HStealth u.uprops[STEALTH].intrinsic
#define EStealth u.uprops[STEALTH].extrinsic
/* BStealth has FROMOUTSIDE set if mounted on non-flying steed */
#define BStealth (u.uprops[STEALTH].blocked || Stomping)
#define Stealth ((HStealth || EStealth) && !BStealth)
#define BStealth u.uprops[STEALTH].blocked
#define Stealth ((HStealth || EStealth) && !BStealth && !Stomping)

#define HAggravate_monster u.uprops[AGGRAVATE_MONSTER].intrinsic
#define EAggravate_monster u.uprops[AGGRAVATE_MONSTER].extrinsic
Expand Down

0 comments on commit 58e5326

Please sign in to comment.