src/ai/core/ai_map.hpp
branchnoai
changeset 9425 8eec6d10844a
parent 9422 33efcc5f1b09
--- a/src/ai/core/ai_map.hpp	Thu Mar 15 22:08:00 2007 +0000
+++ b/src/ai/core/ai_map.hpp	Thu Mar 15 22:17:28 2007 +0000
@@ -56,7 +56,7 @@
 	uint32 GetTileY(TileIndex t);
 };
 
-#ifdef SQUIRREL_CLASS
+#ifdef DEFINE_SQUIRREL_CLASS
 void SQAIMapRegister(Squirrel *engine) {
 	DefSQClass <AIMap> SQAIMap("AIMap");
 	SQAIMap.PreRegister(engine);