src/ai/ai_squirrel.cpp
branchnoai
changeset 9528 b2cc6f31363c
parent 9515 0d70ff51a6e5
child 9579 632263c0cf5a
--- a/src/ai/ai_squirrel.cpp	Sun Mar 25 15:03:49 2007 +0000
+++ b/src/ai/ai_squirrel.cpp	Sun Mar 25 15:22:56 2007 +0000
@@ -21,10 +21,11 @@
 
 /* Convert all AI related classes to Squirrel data */
 #define DEFINE_SQUIRREL_CLASS
+#include "api/ai_accounting.hpp"
 #include "api/ai_base.hpp"
 #include "api/ai_cargo.hpp"
+#include "api/ai_company.hpp"
 #include "api/ai_controller.hpp"
-#include "api/ai_company.hpp"
 #include "api/ai_execmode.hpp"
 #include "api/ai_industry.hpp"
 #include "api/ai_map.hpp"
@@ -189,6 +190,7 @@
 
 	/* Register all classes */
 	squirrel_register_std(this->engine);
+	SQAIAccountingRegister(this->engine);
 	SQAIBaseRegister(this->engine);
 	SQAICargoRegister(this->engine);
 	SQAICompanyRegister(this->engine);
@@ -198,8 +200,8 @@
 	SQAIMapRegister(this->engine);
 	SQAIOrderRegister(this->engine);
 	SQAIRoadRegister(this->engine);
+	SQAISettingsRegister(this->engine);
 	SQAISignRegister(this->engine);
-	SQAISettingsRegister(this->engine);
 	SQAITestModeRegister(this->engine);
 	SQAITownRegister(this->engine);
 	SQAITransactionModeRegister(this->engine);