aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-28 04:00:15 +0000
committerPaul Gilbert2007-12-28 04:00:15 +0000
commitada25791c6404092db58aea1ecedb33e2c0ef8d2 (patch)
treed0a632b1542afad4a325f9a3b886c7d562932716 /engines
parentecb2b2cddf3debcf4155833be612083d955e5029 (diff)
downloadscummvm-rg350-ada25791c6404092db58aea1ecedb33e2c0ef8d2.tar.gz
scummvm-rg350-ada25791c6404092db58aea1ecedb33e2c0ef8d2.tar.bz2
scummvm-rg350-ada25791c6404092db58aea1ecedb33e2c0ef8d2.zip
Bugfix for action perform timeout to correctly show an question mark bubble. Also changed a writeSint16LE call to be more correctly writeUint16LE
svn-id: r30026
Diffstat (limited to 'engines')
-rw-r--r--engines/lure/hotspots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index f317834a4a..7b5ec7bccd 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -949,7 +949,7 @@ HotspotPrecheckResult Hotspot::actionPrecheck(HotspotData *hotspot) {
if (actionCtr() >= 6) {
warning("actionCtr exceeded");
setActionCtr(0);
- converse(NOONE_ID, 0xD);
+ showMessage(13, NOONE_ID);
return PC_EXCESS;
}
@@ -4429,7 +4429,7 @@ void CurrentActionEntry::saveToStream(WriteStream *stream) {
stream->writeUint16LE(supportData().param(index));
} else {
// Write out the Id for the static entry
- stream->writeSint16LE(supportData().id());
+ stream->writeUint16LE(supportData().id());
}
}
debugC(ERROR_DETAILED, kLureDebugAnimations, "Finished saving hotspot action entry");