(svn r9426) [NoAI] -Fix: register AIVehicle() for SQ (Zuu) noai
authortruelight
Sat, 24 Mar 2007 14:41:28 +0000
branchnoai
changeset 9515 0d70ff51a6e5
parent 9514 e31710af1ca0
child 9516 defc90b7898a
(svn r9426) [NoAI] -Fix: register AIVehicle() for SQ (Zuu)
src/ai/ai_squirrel.cpp
--- a/src/ai/ai_squirrel.cpp	Fri Mar 23 21:22:28 2007 +0000
+++ b/src/ai/ai_squirrel.cpp	Sat Mar 24 14:41:28 2007 +0000
@@ -35,6 +35,7 @@
 #include "api/ai_testmode.hpp"
 #include "api/ai_town.hpp"
 #include "api/ai_transactionmode.hpp"
+#include "api/ai_vehicle.hpp"
 #undef DEFINE_SQUIRREL_CLASS
 
 static FSquirrel iFSquirrel; ///< Tell the AI-core that we have an AI with which we like to play.
@@ -202,6 +203,7 @@
 	SQAITestModeRegister(this->engine);
 	SQAITownRegister(this->engine);
 	SQAITransactionModeRegister(this->engine);
+	SQAIVehicleRegister(this->engine);
 
 	this->engine->SetGlobalPointer(this->engine);
 }