mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-08 19:00:57 +00:00
MADS: Replace some magic bomb status values with their friendly name
This commit is contained in:
parent
b7dd01fdef
commit
0ab1e9d07b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user