src/ai/trolly/pathfinder.cpp
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6336 16879925b259
child 6719 4cc327ad39d5
child 7177 08330bb931a1
--- a/src/ai/trolly/pathfinder.cpp	Mon Mar 19 09:33:17 2007 +0000
+++ b/src/ai/trolly/pathfinder.cpp	Mon Mar 19 12:38:16 2007 +0000
@@ -372,9 +372,9 @@
 extern uint GetRailFoundation(Slope tileh, TrackBits bits); // XXX function declaration in .c
 extern uint GetRoadFoundation(Slope tileh, RoadBits bits); // XXX function declaration in .c
 extern uint GetBridgeFoundation(Slope tileh, Axis); // XXX function declaration in .c
-typedef enum BridgeFoundations{
+enum BridgeFoundation {
 	BRIDGE_NO_FOUNDATION = 1 << 0 | 1 << 3 | 1 << 6 | 1 << 9 | 1 << 12,
-} BridgeFoundation;
+};
 
 // The most important function: it calculates the g-value
 static int32 AyStar_AiPathFinder_CalculateG(AyStar *aystar, AyStarNode *current, OpenListNode *parent)