diff options
author | Eric Fry | 2018-05-07 08:36:39 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 6e09cd7e0899052a927bb65ba13219a4cd53c814 (patch) | |
tree | fdf3492f3a6e4ba8a0cc87f44f7cd8fbdc5d9994 /engines/illusions/illusions.cpp | |
parent | c66b2208e0f8aa35288da64ce3903edc5a8205cd (diff) | |
download | scummvm-rg350-6e09cd7e0899052a927bb65ba13219a4cd53c814.tar.gz scummvm-rg350-6e09cd7e0899052a927bb65ba13219a4cd53c814.tar.bz2 scummvm-rg350-6e09cd7e0899052a927bb65ba13219a4cd53c814.zip |
ILLUSIONS: Rename some actor flags
Diffstat (limited to 'engines/illusions/illusions.cpp')
-rw-r--r-- | engines/illusions/illusions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/illusions/illusions.cpp b/engines/illusions/illusions.cpp index 2317bd34ac..11ef6d0ac7 100644 --- a/engines/illusions/illusions.cpp +++ b/engines/illusions/illusions.cpp @@ -188,7 +188,7 @@ int IllusionsEngine::updateGraphics(uint flags) { for (Controls::ItemsIterator it = _controls->_controls.begin(); it != _controls->_controls.end(); ++it) { Control *control = *it; Actor *actor = control->_actor; - if (control->_pauseCtr == 0 && actor && (actor->_flags & Illusions::ACTOR_FLAG_1) && !(actor->_flags & Illusions::ACTOR_FLAG_200)) { + if (control->_pauseCtr == 0 && actor && (actor->_flags & Illusions::ACTOR_FLAG_IS_VISIBLE) && !(actor->_flags & Illusions::ACTOR_FLAG_200)) { Common::Point drawPosition = control->calcPosition(panPoint); if (actor->_flags & Illusions::ACTOR_FLAG_2000) { Frame *frame = &(*actor->_frames)[actor->_frameIndex - 1]; |