summaryrefslogtreecommitdiff
path: root/src/heightmap.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
committerrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
commit398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch)
tree54de30f4702263ee1489af162d6da840e35c0a87 /src/heightmap.h
parent793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff)
downloadopenttd-398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb.tar.xz
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
Diffstat (limited to 'src/heightmap.h')
-rw-r--r--src/heightmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heightmap.h b/src/heightmap.h
index d4cafa50b..16ef279c7 100644
--- a/src/heightmap.h
+++ b/src/heightmap.h
@@ -16,7 +16,7 @@
* Order of these enums has to be the same as in lang/english.txt
* Otherwise you will get inconsistent behaviour.
*/
-enum {
+enum HeightmapRotation {
HM_COUNTER_CLOCKWISE, ///< Rotate the map counter clockwise 45 degrees
HM_CLOCKWISE, ///< Rotate the map clockwise 45 degrees
};