src/ai/api/ai_map.hpp
branchnoai
changeset 9521 b9dabdbe1dc5
parent 9520 f7cf8bea10db
child 9524 283d23931bb4
--- a/src/ai/api/ai_map.hpp	Sun Mar 25 12:02:13 2007 +0000
+++ b/src/ai/api/ai_map.hpp	Sun Mar 25 12:38:29 2007 +0000
@@ -126,7 +126,6 @@
 	SQAIMap.PreRegister(engine);
 	SQAIMap.AddConstructor(engine);
 	SQAIMap.DefSQFunction(engine, &AIMap::IsValidTile,       "IsValidTile");
-	SQAIMap.DefSQFunction(engine, &AIMap::DemolishTile,      "DemolishTile");
 	SQAIMap.DefSQFunction(engine, &AIMap::GetMapSize,        "GetMapSize");
 	SQAIMap.DefSQFunction(engine, &AIMap::GetMapSizeX,       "GetMapSizeX");
 	SQAIMap.DefSQFunction(engine, &AIMap::GetMapSizeY,       "GetMapSizeY");
@@ -137,6 +136,7 @@
 	SQAIMap.DefSQFunction(engine, &AIMap::DistanceMax,       "DistanceMax");
 	SQAIMap.DefSQFunction(engine, &AIMap::DistanceSquare,    "DistanceSquare");
 	SQAIMap.DefSQFunction(engine, &AIMap::DistanceFromEdge,  "DistanceFromEdge");
+	SQAIMap.DefSQFunction(engine, &AIMap::DemolishTile,      "DemolishTile");
 	SQAIMap.PostRegister(engine);
 }
 #endif /* DEFINE_SQUIRREL_CLASS */