aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-21 18:04:09 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitaa92c3ba2067a011743ddfbb4db8d2376e92aceb (patch)
tree00926cd071c31a92913b23c115ecac19ec02594e /engines
parente8249722455321a67ee5edf831be1c6bb76a8b65 (diff)
downloadscummvm-rg350-aa92c3ba2067a011743ddfbb4db8d2376e92aceb.tar.gz
scummvm-rg350-aa92c3ba2067a011743ddfbb4db8d2376e92aceb.tar.bz2
scummvm-rg350-aa92c3ba2067a011743ddfbb4db8d2376e92aceb.zip
DM: Fix footprints everywhere
Diffstat (limited to 'engines')
-rw-r--r--engines/dm/champion.h7
-rw-r--r--engines/dm/eventman.cpp2
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/dm/champion.h b/engines/dm/champion.h
index 85afd6f6f9..15a07bebe7 100644
--- a/engines/dm/champion.h
+++ b/engines/dm/champion.h
@@ -55,6 +55,7 @@ public:
void setMapX(uint16 val) { _scent = (_scent & ~0x1F) & (val & 0x1F); }
void setMapY(uint16 val) { _scent = (_scent & ~(0x1F << 5)) & (val & 0x1F); }
void setMapIndex(uint16 val) { _scent = (_scent & ~(0x1F << 10)) & (val & 0x3F); }
+ void setVal(uint16 val) { _scent = val; }
uint16 toUint16() { return _scent; }
}; // @ SCENT
@@ -90,8 +91,12 @@ public:
_scentCount = 0;
_freezeLifeTicks = 0;
_firstScentIndex = 0;
- for (int16 i = 0; i < 24; ++i)
+
+ _lastScentIndex = 0;
+ for (int16 i = 0; i < 24; ++i) {
+ _scents[i].setVal(0);
_scentStrengths[i] = 0;
+ }
_event71Count_Invisibility = 0;
}
}; // @ PARTY
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp
index 6e868f73de..d6790b4fcf 100644
--- a/engines/dm/eventman.cpp
+++ b/engines/dm/eventman.cpp
@@ -747,7 +747,7 @@ void EventManager::f380_processCommandQueue() {
if (cmdType == k147_CommandFreezeGame) {
_vm->_g301_gameTimeTicking = false;
_vm->_menuMan->f456_drawDisabledMenu();
- _vm->_displayMan->f134_fillBitmap(_vm->_displayMan->_g296_bitmapViewport, k0_ColorBlack, 224, 136);
+ _vm->_displayMan->f134_fillBitmap(_vm->_displayMan->_g296_bitmapViewport, k0_ColorBlack, 112, 136);
// TODO: localization
_vm->_textMan->f40_printTextToBitmap(_vm->_displayMan->_g296_bitmapViewport, k112_byteWidthViewport, 81, 69, k4_ColorCyan, k0_ColorBlack,
"GAME FROZEN", k136_heightViewport);