aboutsummaryrefslogtreecommitdiff
path: root/simon/verb.cpp
diff options
context:
space:
mode:
authorTravis Howell2002-11-05 02:34:05 +0000
committerTravis Howell2002-11-05 02:34:05 +0000
commitd2f6c10723ddc522ccc6e10195741f5553c7f6c4 (patch)
tree0ff4aafa1bb08c52001e7cf67c35758b8a5ff546 /simon/verb.cpp
parent0efd6b1cc27c53ccd75c3bdaf0f3cd81eb41292e (diff)
downloadscummvm-rg350-d2f6c10723ddc522ccc6e10195741f5553c7f6c4.tar.gz
scummvm-rg350-d2f6c10723ddc522ccc6e10195741f5553c7f6c4.tar.bz2
scummvm-rg350-d2f6c10723ddc522ccc6e10195741f5553c7f6c4.zip
Minor simon code cleanup
svn-id: r5406
Diffstat (limited to 'simon/verb.cpp')
-rw-r--r--simon/verb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/verb.cpp b/simon/verb.cpp
index 9b1e0fc286..b0708e8f0c 100644
--- a/simon/verb.cpp
+++ b/simon/verb.cpp
@@ -53,7 +53,7 @@ void SimonState::defocusHitarea()
HitArea *last;
HitArea *ha;
- if ((_game == GAME_SIMON2WIN) || (_game == GAME_SIMON2DOS)) {
+ if (_game & GAME_SIMON2) {
if (_bit_array[4] & 0x8000) {
o_unk_120(202);
_last_hitarea_2_ptr = NULL;
@@ -113,7 +113,7 @@ void SimonState::hitareaChangedHelper()
{
FillOrCopyStruct *fcs;
- if ((_game == GAME_SIMON2WIN) || (_game == GAME_SIMON2DOS)) {
+ if (_game & GAME_SIMON2) {
if (_bit_array[4] & 0x8000)
return;
}