aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r--engines/gob/inter_v2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp
index 3cdde460b8..7fe425b007 100644
--- a/engines/gob/inter_v2.cpp
+++ b/engines/gob/inter_v2.cpp
@@ -603,12 +603,12 @@ void Inter_v2::o2_totSub() {
void Inter_v2::o2_switchTotSub() {
int16 index;
- int16 skipPlay;
+ int16 function;
index = _vm->_game->_script->readInt16();
- skipPlay = _vm->_game->_script->readInt16();
+ function = _vm->_game->_script->readInt16();
- _vm->_game->switchTotSub(index, skipPlay);
+ _vm->_game->switchTotSub(index, function);
}
void Inter_v2::o2_pushVars() {