aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaul Gilbert2007-05-02 03:18:11 +0000
committerPaul Gilbert2007-05-02 03:18:11 +0000
commitab78c626f46803fcb258d08a2434457fc30cfc94 (patch)
tree301f95b2ffd0a45ef183c28b9b9fb0bc68c8c40a /engines/lure
parent8b545a526528333ecc8460b069c8d8f45f0cf496 (diff)
downloadscummvm-rg350-ab78c626f46803fcb258d08a2434457fc30cfc94.tar.gz
scummvm-rg350-ab78c626f46803fcb258d08a2434457fc30cfc94.tar.bz2
scummvm-rg350-ab78c626f46803fcb258d08a2434457fc30cfc94.zip
Fix for saving the game when an NPC is doing a non-scripted action
svn-id: r26734
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/hotspots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index dafeab1440..54bc9a3432 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -4118,6 +4118,7 @@ void CurrentActionEntry::saveToStream(WriteStream *stream) {
if (_dynamicSupportData)
{
// Write out the dynamic data
+ stream->writeByte(supportData().action());
stream->writeSint16LE(supportData().numParams());
for (int index = 0; index < supportData().numParams(); ++index)
stream->writeUint16LE(supportData().param(index));