src/slope.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 5726 8f399788f6c9
child 6307 f40e88cff863
--- a/src/slope.h	Mon Mar 19 09:33:17 2007 +0000
+++ b/src/slope.h	Mon Mar 19 12:38:16 2007 +0000
@@ -3,7 +3,7 @@
 #ifndef SLOPE_H
 #define SLOPE_H
 
-typedef enum Slope {
+enum Slope {
 	SLOPE_FLAT     = 0x00,
 	SLOPE_W        = 0x01,
 	SLOPE_S        = 0x02,
@@ -25,7 +25,7 @@
 	SLOPE_STEEP_S  = SLOPE_STEEP | SLOPE_WSE,
 	SLOPE_STEEP_E  = SLOPE_STEEP | SLOPE_SEN,
 	SLOPE_STEEP_N  = SLOPE_STEEP | SLOPE_ENW
-} Slope;
+};
 
 static inline bool IsSteepSlope(Slope s)
 {