mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
VOYEUR: Fix for aborting out of sending someoneo the tape
This commit is contained in:
parent
3fc2a80be6
commit
b247d8d0a7
@ -39,6 +39,10 @@ void ThreadResource::init() {
|
||||
|
||||
ThreadResource::ThreadResource(BoltFilesState &state, const byte *src):
|
||||
_vm(state._vm) {
|
||||
_threadId = READ_LE_UINT16(&src[0]);
|
||||
_controlIndex = READ_LE_UINT16(&src[0]);
|
||||
_field4 = READ_LE_UINT16(&src[0]);
|
||||
_field6 = READ_LE_UINT16(&src[0]);
|
||||
_flags = src[8];
|
||||
_ctlPtr = nullptr;
|
||||
_aptPos = Common::Point(-1, -1);
|
||||
@ -71,6 +75,7 @@ bool ThreadResource::loadAStack(int idx) {
|
||||
}
|
||||
|
||||
_ctlPtr = _vm->_controlPtr->_entries[idx];
|
||||
_controlIndex = idx;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -138,6 +138,11 @@ private:
|
||||
bool checkForIncriminate();
|
||||
|
||||
void playAVideoEvent(int eventIndex);
|
||||
|
||||
/**
|
||||
* Shows the user a screen to select one of four characters to send the
|
||||
* video tape to
|
||||
*/
|
||||
int getChooseButton();
|
||||
|
||||
/**
|
||||
|
@ -155,11 +155,10 @@ void VoyeurEngine::playStamp() {
|
||||
_playStampGroupId = -1;
|
||||
flag = true;
|
||||
|
||||
if (buttonId == 4) {
|
||||
if (buttonId != 4) {
|
||||
_voy._field470 = 131;
|
||||
_eventsManager.checkForKey();
|
||||
_mainThread->chooseSTAMPButton(buttonId);
|
||||
flag = true;
|
||||
} else {
|
||||
_mainThread->chooseSTAMPButton(buttonId);
|
||||
_voy._field46E = true;
|
||||
|
Loading…
Reference in New Issue
Block a user