Another spot of kReplyOnce usage. Thanks to proper memory addressing now

it is possible to implement.

svn-id: r16625
This commit is contained in:
Eugene Sandulenko 2005-01-23 21:52:43 +00:00
parent 7a1f9bc2da
commit 86dc6a3d85

View File

@ -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));
}
}