main.cxx

changeset 20
d7b13805d1e0
parent 16
393359908179
child 21
ae602e667879
--- a/main.cxx	Sat Jul 14 18:03:37 2012 +0300
+++ b/main.cxx	Sat Jul 14 20:35:50 2012 +0300
@@ -48,6 +48,7 @@
 #include "objwriter.h"
 #include "events.h"
 #include "commands.h"
+#include "stringtable.h"
 
 #include "bots.h"
 #include "botcommands.h"
@@ -71,6 +72,9 @@
 	ReadEvents ();
 	ReadCommands ();
 	
+	// Init string table
+	g_StringTable = new StringTable();
+	
 	// Prepare reader and writer
 	ScriptReader *r = new ScriptReader (argv[1]);
 	ObjWriter *w = new ObjWriter (argv[2]);

mercurial