aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorMax Horn2003-11-05 20:42:33 +0000
committerMax Horn2003-11-05 20:42:33 +0000
commit8ad1ec44532e7ac1d30c9579caeb34a0dfe4b4f7 (patch)
tree4750d8e122e1a9fabbb88e659e84f4e688bc266d /sword2
parent5bf6e9afa0f949de6eb3f90a0639b2c884b9b3b4 (diff)
downloadscummvm-rg350-8ad1ec44532e7ac1d30c9579caeb34a0dfe4b4f7.tar.gz
scummvm-rg350-8ad1ec44532e7ac1d30c9579caeb34a0dfe4b4f7.tar.bz2
scummvm-rg350-8ad1ec44532e7ac1d30c9579caeb34a0dfe4b4f7.zip
setup opcode table *before* using it to avoid crashes :-)
svn-id: r11156
Diffstat (limited to 'sword2')
-rw-r--r--sword2/logic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/logic.h b/sword2/logic.h
index 9eda55c624..6820d1a6a3 100644
--- a/sword2/logic.h
+++ b/sword2/logic.h
@@ -170,8 +170,8 @@ public:
_speechScriptWaiting(0), _speechTextBlocNo(0),
_choosing(false), _unpauseZone(0) {
memset(_subjectList, 0, sizeof(_subjectList));
- initStartMenu();
setupOpcodes();
+ initStartMenu();
}
// "TEXT" - current official text line number - will match the wav