summaryrefslogtreecommitdiff
path: root/src/slope_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-04-02 14:13:15 +0000
committerfrosch <frosch@openttd.org>2008-04-02 14:13:15 +0000
commitfa68e5f77026835b02e1dc3d8eef09b57aac8249 (patch)
tree1c88a7fa03add5b3c621da72df5f777b12fdd26c /src/slope_type.h
parent5e5e074a5dc68ed495de3234fda15989db34e23d (diff)
downloadopenttd-fa68e5f77026835b02e1dc3d8eef09b57aac8249.tar.xz
(svn r12541) -Codechange: Declare Slope enum as bit set, and remove some (then) unneeded casts.
Diffstat (limited to 'src/slope_type.h')
-rw-r--r--src/slope_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slope_type.h b/src/slope_type.h
index a61a09182..2ba12bf38 100644
--- a/src/slope_type.h
+++ b/src/slope_type.h
@@ -70,6 +70,7 @@ enum Slope {
SLOPE_HALFTILE_E = SLOPE_HALFTILE | (CORNER_E << 6), ///< the east halftile is leveled (non continuous slope)
SLOPE_HALFTILE_N = SLOPE_HALFTILE | (CORNER_N << 6), ///< the north halftile is leveled (non continuous slope)
};
+DECLARE_ENUM_AS_BIT_SET(Slope)
/**