main.cxx

changeset 6
0005527cad62
parent 4
b6d93c10fa86
child 8
c8bfa7e6ae1b
--- a/main.cxx	Fri Jul 13 20:35:18 2012 +0300
+++ b/main.cxx	Sat Jul 14 01:49:32 2012 +0300
@@ -47,6 +47,7 @@
 #include "scriptreader.h"
 #include "objwriter.h"
 #include "events.h"
+#include "commands.h"
 
 #include "bots.h"
 #include "botcommands.h"
@@ -64,8 +65,9 @@
 	headerline.repeat ((header.len()/2)-1);
 	printf ("%s\n%s\n", header.chars(), headerline.chars());
 	
-	// Read the event definitions
+	// Read definitions
 	ReadEvents ();
+	ReadCommands ();
 	
 	// Prepare reader and writer
 	ScriptReader *r = new ScriptReader (argv[1]);

mercurial