aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 8db42b217c..06bf9a216f 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -39,7 +39,7 @@
namespace Gob {
-Inter::Inter(GobEngine *vm) : _vm(vm) {
+Inter::Inter(GobEngine *vm) : _vm(vm), _varStack(600) {
_terminate = 0;
_break = false;
@@ -55,9 +55,6 @@ Inter::Inter(GobEngine *vm) : _vm(vm) {
_soundEndTimeKey = 0;
_soundStopVal = 0;
- memset(_varStack, 0, 300);
- _varStackPos = 0;
-
_noBusyWait = false;
_variables = 0;