aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
Diffstat (limited to 'saga')
-rw-r--r--saga/sfuncs.cpp5
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));
}
}