summaryrefslogtreecommitdiff
path: root/tile.h
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-06-17 00:22:46 +0000
committermatthijs <matthijs@openttd.org>2005-06-17 00:22:46 +0000
commit8e535337861d419c6fc9cdd450e90689fad30e7d (patch)
treea60eac6f771503fb49ad4ddc8a7898fb0e6ee996 /tile.h
parentbacc5396e6e6851877da254319301bee6c1c0255 (diff)
downloadopenttd-8e535337861d419c6fc9cdd450e90689fad30e7d.tar.xz
(svn r2450) * Codechange: Replaced all uses of the arrays in tile.h with calls to the associated wrapper functions.
* Codechange: Made npf.c use some map array accessing wrappers instead of direct access. * Codechange/Fix: Named every enum in tile.h. Fixes a nasty bug on MSVC where arrays would be initialised with zeroes (tnx Asterix_) * Removed magic numbers from tables in tile.c. * Added some explicit casts in tile.h.
Diffstat (limited to 'tile.h')
-rw-r--r--tile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tile.h b/tile.h
index 36c07e750..24bd22dc5 100644
--- a/tile.h
+++ b/tile.h
@@ -4,7 +4,7 @@
#include "macros.h"
#include "map.h"
-typedef enum TileType {
+typedef enum TileTypes {
MP_CLEAR,
MP_RAILWAY,
MP_STREET,