summaryrefslogtreecommitdiff
path: root/src/zoom_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-30 11:29:52 +0000
committerrubidium <rubidium@openttd.org>2009-11-30 11:29:52 +0000
commit5a41a646c2f62bbd3480f5714232f9e2e48ae75c (patch)
tree3d9752635989778475d604972cc7abb06df8d7a3 /src/zoom_type.h
parent9ecfcdff78d68da1ccfc97236a64079d1c4c0eac (diff)
downloadopenttd-5a41a646c2f62bbd3480f5714232f9e2e48ae75c.tar.xz
(svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level
Diffstat (limited to 'src/zoom_type.h')
-rw-r--r--src/zoom_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zoom_type.h b/src/zoom_type.h
index a474a913b..e2698ae48 100644
--- a/src/zoom_type.h
+++ b/src/zoom_type.h
@@ -44,4 +44,6 @@ enum ZoomLevel {
};
DECLARE_POSTFIX_INCREMENT(ZoomLevel)
+typedef SimpleTinyEnumT<ZoomLevel, byte> ZoomLevelByte;
+
#endif /* ZOOM_TYPE_H */