diff options
author | Paul Gilbert | 2010-07-29 11:41:51 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-07-29 11:41:51 +0000 |
commit | 28de229b518c91f46fd03758df0fb5d7553c7c02 (patch) | |
tree | 711f8a5ba9f6a53b24100a1de0794beabe13895f /engines/m4/hotspot.cpp | |
parent | fd804eb44b3e0f952efc2ffd3c66303e4a1c882c (diff) | |
download | scummvm-rg350-28de229b518c91f46fd03758df0fb5d7553c7c02.tar.gz scummvm-rg350-28de229b518c91f46fd03758df0fb5d7553c7c02.tar.bz2 scummvm-rg350-28de229b518c91f46fd03758df0fb5d7553c7c02.zip |
M4: Added further code fragments to enable player to move again
svn-id: r51462
Diffstat (limited to 'engines/m4/hotspot.cpp')
-rw-r--r-- | engines/m4/hotspot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/m4/hotspot.cpp b/engines/m4/hotspot.cpp index 4eec50e29d..27180c5eb8 100644 --- a/engines/m4/hotspot.cpp +++ b/engines/m4/hotspot.cpp @@ -185,9 +185,9 @@ void HotSpotList::dump() { uint32 HotSpotList::readHotSpotInteger(Common::SeekableReadStream* hotspotStream) { if (_vm->isM4()) - return hotspotStream->readUint32LE(); + return hotspotStream->readSint32LE(); else - return hotspotStream->readUint16LE(); + return hotspotStream->readSint16LE(); } void HotSpotList::loadHotSpots(Common::SeekableReadStream* hotspotStream, int hotspotCount) { @@ -196,7 +196,7 @@ void HotSpotList::loadHotSpots(Common::SeekableReadStream* hotspotStream, int ho char buffer[256]; uint32 strLength = 0; uint32 index = 0; - uint32 feetX, feetY; + int feetX, feetY; int cursorOffset = (_vm ->isM4()) ? 0 : 1; for (int i = 0; i < hotspotCount; i++) { |