diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 98ae117c0944ca54417088a55eb8f22a9e1e0733 (patch) | |
tree | 2c71ac2f113a9749cf729e67a2e7a3986c261413 /src/dungeon.cc | |
parent | 6006546b4d015619b7d119d400fac819da6bc826 (diff) |
Factor out 'disturb_state' option handling
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r-- | src/dungeon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc index 138d8c66..076369dd 100644 --- a/src/dungeon.cc +++ b/src/dungeon.cc @@ -2229,7 +2229,7 @@ static void process_world(void) att &= ~(CLASS_LEGS); att &= ~(CLASS_WALL); - if (disturb_state) disturb(0); + disturb_on_state(); } p_ptr->update |= (PU_BODY); |