diff options
author | Eric Fry | 2018-05-05 21:58:47 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | d3fbb0e8b97fbefa8a4ca019ea8689a98fcdc62b (patch) | |
tree | 4d52e7413bc884e3496580c587f003257f5d6a91 /engines/illusions/bbdou | |
parent | 2f551cabbacf64d336a855ec087fb6e31c484161 (diff) | |
download | scummvm-rg350-d3fbb0e8b97fbefa8a4ca019ea8689a98fcdc62b.tar.gz scummvm-rg350-d3fbb0e8b97fbefa8a4ca019ea8689a98fcdc62b.tar.bz2 scummvm-rg350-d3fbb0e8b97fbefa8a4ca019ea8689a98fcdc62b.zip |
ILLUSIONS: Replace actor flag magic values with enum definitions
Diffstat (limited to 'engines/illusions/bbdou')
-rw-r--r-- | engines/illusions/bbdou/bbdou_credits.cpp | 2 | ||||
-rw-r--r-- | engines/illusions/bbdou/illusions_bbdou.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/illusions/bbdou/bbdou_credits.cpp b/engines/illusions/bbdou/bbdou_credits.cpp index 3b651292d7..eb2377933f 100644 --- a/engines/illusions/bbdou/bbdou_credits.cpp +++ b/engines/illusions/bbdou/bbdou_credits.cpp @@ -107,7 +107,7 @@ void BbdouCredits::drawTextToControl(uint32 objectId, const char *text, uint ali control->fillActor(0); textDrawer.wrapText(font, wtext, &dimensions, Common::Point(0, 0), alignment, outText); textDrawer.drawText(_vm->_screen, control->_actor->_surface, 0, 0); - control->_actor->_flags |= 0x4000; + control->_actor->_flags |= Illusions::ACTOR_FLAG_4000; } diff --git a/engines/illusions/bbdou/illusions_bbdou.cpp b/engines/illusions/bbdou/illusions_bbdou.cpp index e3b0df2d07..4d54eb4edb 100644 --- a/engines/illusions/bbdou/illusions_bbdou.cpp +++ b/engines/illusions/bbdou/illusions_bbdou.cpp @@ -410,7 +410,7 @@ void IllusionsEngine_BBDOU::hideCursor() { void IllusionsEngine_BBDOU::cursorControlRoutine(Control *control, uint32 deltaTime) { control->_actor->_seqCodeValue1 = 100 * deltaTime; - if (control->_actor->_flags & 1) { + if (control->_actor->_flags & Illusions::ACTOR_FLAG_1) { switch (_cursor->_status) { case 2: // Unused nullsub_1(control); |