src/ai/trolly/pathfinder.cpp
changeset 6574 e1d1a12faaf7
parent 6336 16879925b259
child 6719 4cc327ad39d5
child 7177 08330bb931a1
--- a/src/ai/trolly/pathfinder.cpp	Wed Mar 07 11:47:46 2007 +0000
+++ b/src/ai/trolly/pathfinder.cpp	Wed Mar 07 12:11:48 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)