aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur/voyeur_game.cpp')
-rw-r--r--engines/voyeur/voyeur_game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp
index adaff87672..0401704d3c 100644
--- a/engines/voyeur/voyeur_game.cpp
+++ b/engines/voyeur/voyeur_game.cpp
@@ -78,11 +78,11 @@ void VoyeurEngine::closeStamp() {
ThreadResource::unloadAllStacks(this);
}
-void VoyeurEngine::initThreadStruct(ThreadResource *thread, int idx, int v3) {
+void VoyeurEngine::initThreadStruct(ThreadResource *thread, int idx, int id) {
thread->_controlIndex = -1;
if (thread->loadAStack(idx)) {
thread->_field4 = thread->_field6 = -1;
- thread->_field0 = v3;
+ thread->_threadId = id;
thread->_field3A = -1;
thread->_field3E = -1;