src/ai/trolly/pathfinder.cpp
changeset 6248 e4a2ed7e5613
parent 6010 3dfeb08abf4a
child 6681 567445b47b68
--- 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)