aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes5.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-08 11:44:13 +0300
committerFilippos Karapetis2014-05-08 11:44:13 +0300
commit0ab1e9d07bdcf012cc0025bb024329698529bf1d (patch)
treefd39c2b24c1704db112bfdf8dc0e8c7ccee31f78 /engines/mads/nebular/nebular_scenes5.cpp
parentb7dd01fdefd910c3c0f6291145ceab4060ae1a70 (diff)
downloadscummvm-rg350-0ab1e9d07bdcf012cc0025bb024329698529bf1d.tar.gz
scummvm-rg350-0ab1e9d07bdcf012cc0025bb024329698529bf1d.tar.bz2
scummvm-rg350-0ab1e9d07bdcf012cc0025bb024329698529bf1d.zip
MADS: Replace some magic bomb status values with their friendly name
Diffstat (limited to 'engines/mads/nebular/nebular_scenes5.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes5.cpp b/engines/mads/nebular/nebular_scenes5.cpp
index 41765f256a..9c961e3729 100644
--- a/engines/mads/nebular/nebular_scenes5.cpp
+++ b/engines/mads/nebular/nebular_scenes5.cpp
@@ -729,7 +729,7 @@ void Scene504::step() {
}
}
- if ((_globals[kTimebombTimer] >= 10800) && (_globals[kTimebombStatus] == 1) && (_game._difficulty != 3)) {
+ if ((_globals[kTimebombTimer] >= 10800) && (_globals[kTimebombStatus] == TIMEBOMB_ACTIVATED) && (_game._difficulty != 3)) {
_globals[kTimebombStatus] = TIMEBOMB_DEAD;
_globals[kTimebombTimer] = 0;
_globals[kCheckDaemonTimebomb] = false;
@@ -924,7 +924,7 @@ void Scene505::step() {
_selectedId = 8;
} else {
this_button = 0x2DE;
- if ((_globals[kTimebombStatus] == 1) && (_carLocations[_selectedId] == 501))
+ if ((_globals[kTimebombStatus] == TIMEBOMB_ACTIVATED) && (_carLocations[_selectedId] == 501))
_vm->_dialogs->show(431);
else if (_selectedId != _homeSelectedId) {
_nextButtonId = 0;