src/ai/core/ai_controller.hpp
branchnoai
changeset 9425 8eec6d10844a
parent 9422 33efcc5f1b09
--- a/src/ai/core/ai_controller.hpp	Thu Mar 15 22:08:00 2007 +0000
+++ b/src/ai/core/ai_controller.hpp	Thu Mar 15 22:17:28 2007 +0000
@@ -36,7 +36,7 @@
 
 #endif /* AI_CONTROLLER_HPP */
 
-#ifdef SQUIRREL_CLASS
+#ifdef DEFINE_SQUIRREL_CLASS
 void SQAIControllerRegister(Squirrel *engine) {
 	DefSQClass <AIControllerSquirrel> SQAIController("AIController");
 	SQAIController.PreRegister(engine);