diff options
author | Eugene Sandulenko | 2005-01-23 21:52:43 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-01-23 21:52:43 +0000 |
commit | 86dc6a3d850275de1635bc01243ec7fba3370b47 (patch) | |
tree | 08d88077cf4c3e827e9f5736817696408f02ffeb /saga | |
parent | 7a1f9bc2da8c3b4c94155c6527674a9657fb84dd (diff) | |
download | scummvm-rg350-86dc6a3d850275de1635bc01243ec7fba3370b47.tar.gz scummvm-rg350-86dc6a3d850275de1635bc01243ec7fba3370b47.tar.bz2 scummvm-rg350-86dc6a3d850275de1635bc01243ec7fba3370b47.zip |
Another spot of kReplyOnce usage. Thanks to proper memory addressing now
it is possible to implement.
svn-id: r16625
Diffstat (limited to 'saga')
-rw-r--r-- | saga/sfuncs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 40ad454a2f..10513f3215 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -1543,6 +1543,8 @@ void Script::SF_playVoice(SCRIPTFUNC_PARAMS) { } void Script::finishDialog(int replyID, int flags, int bitOffset) { + byte *addr; + if (_conversingThread) { _vm->_interface->setMode(kPanelNull); @@ -1551,7 +1553,8 @@ void Script::finishDialog(int replyID, int flags, int bitOffset) { _conversingThread->push(replyID); if (flags & kReplyOnce) { - // TODO: + addr = _conversingThread->_staticBase + (bitOffset >> 3); + *addr |= (1 << (bitOffset & 7)); } } |