aboutsummaryrefslogtreecommitdiff
path: root/sword2/interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/interpreter.cpp')
-rw-r--r--sword2/interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/interpreter.cpp b/sword2/interpreter.cpp
index d1a0d3e247..f7a5d51868 100644
--- a/sword2/interpreter.cpp
+++ b/sword2/interpreter.cpp
@@ -323,7 +323,7 @@ int RunScript ( const char * scriptData , char * objectData , uint32 *offset )
int32 stack2[STACK_SIZE]; // The current stack
int32 stackPointer2 = 0; // Position within stack
int parameterReturnedFromMcodeFunction=0; // Allow scripts to return things
- int savedStartOfMcode; // For saving start of mcode commands
+ int savedStartOfMcode=0; // For saving start of mcode commands
// Get the start of variables and start of code
DEBUG3("Enter interpreter data %x, object %x, offset %d",scriptData,objectData,*offset);