src/tunnelbridge_cmd.cpp
changeset 6248 e4a2ed7e5613
parent 6213 20e4832abe9a
child 6259 471b91a4b1d8
--- a/src/tunnelbridge_cmd.cpp	Wed Mar 07 11:47:46 2007 +0000
+++ b/src/tunnelbridge_cmd.cpp	Wed Mar 07 12:11:48 2007 +0000
@@ -77,7 +77,7 @@
 }
 
 #define M(x) (1 << (x))
-typedef enum BridgeFoundations{
+enum BridgeFoundation {
 	// foundation, whole tile is leveled up --> 3 corners raised
 	BRIDGE_FULL_LEVELED_FOUNDATION = M(SLOPE_WSE) | M(SLOPE_NWS) | M(SLOPE_ENW) | M(SLOPE_SEN),
 	// foundation, tile is partly leveled up --> 1 corner raised
@@ -85,7 +85,7 @@
 	// no foundations (X,Y direction)
 	BRIDGE_NO_FOUNDATION = M(SLOPE_FLAT) | M(SLOPE_SW) | M(SLOPE_SE) | M(SLOPE_NW) | M(SLOPE_NE),
 	BRIDGE_HORZ_RAMP = (BRIDGE_PARTLY_LEVELED_FOUNDATION | BRIDGE_NO_FOUNDATION) & ~M(SLOPE_FLAT)
-} BridgeFoundataion;
+};
 #undef M
 
 static inline const PalSpriteID *GetBridgeSpriteTable(int index, byte table)