diff options
author | Eric Fry | 2018-07-04 23:30:01 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 8ca26ea2a0ed82bac3193a3a72564c7d4a820084 (patch) | |
tree | 607beac2482ffa741ca9449c70c6125083afb103 /engines | |
parent | 96a862536d8c8214140c1350d479dedd22b6df3b (diff) | |
download | scummvm-rg350-8ca26ea2a0ed82bac3193a3a72564c7d4a820084.tar.gz scummvm-rg350-8ca26ea2a0ed82bac3193a3a72564c7d4a820084.tar.bz2 scummvm-rg350-8ca26ea2a0ed82bac3193a3a72564c7d4a820084.zip |
ILLUSIONS: Use actor flag instead of magic number
Diffstat (limited to 'engines')
-rw-r--r-- | engines/illusions/sequenceopcodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/illusions/sequenceopcodes.cpp b/engines/illusions/sequenceopcodes.cpp index 36111a7c55..90b9c532f4 100644 --- a/engines/illusions/sequenceopcodes.cpp +++ b/engines/illusions/sequenceopcodes.cpp @@ -297,7 +297,7 @@ void SequenceOpcodes::opSetPathCtrY(Control *control, OpCall &opCall) { } void SequenceOpcodes::opDisablePathWalkPoints(Control *control, OpCall &opCall) { - control->_actor->_flags &= ~2; + control->_actor->_flags &= ~Illusions::ACTOR_FLAG_HAS_WALK_POINTS; } void SequenceOpcodes::opSetPathWalkPoints(Control *control, OpCall &opCall) { |