aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/script.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/script.cpp b/engines/kyra/script.cpp
index 8a031b3fde..a1297770bd 100644
--- a/engines/kyra/script.cpp
+++ b/engines/kyra/script.cpp
@@ -133,6 +133,7 @@ bool EMCInterpreter::load(const char *filename, EMCData *scriptData, const Commo
scriptData->sysFuncs = opcodes;
strncpy(scriptData->filename, filename, 13);
+ scriptData->filename[12] = 0;
return true;
}