summaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-10-14 15:43:37 +0000
committerDarkvater <Darkvater@openttd.org>2006-10-14 15:43:37 +0000
commit227cebb0be5de7791c72acf38b28f871a425550e (patch)
tree128e17c7b5fd106f884f2af8b541f5e3aa329d0b /map.h
parent68c0320be653cf4d966cb0e15532264db304f438 (diff)
downloadopenttd-227cebb0be5de7791c72acf38b28f871a425550e.tar.xz
(svn r6772) -Codechange: Do not abuse OWNER_SPECTATOR as the "owner" of the industry for
the minimap. This also saves us from having this huge _owner_colors table.
Diffstat (limited to 'map.h')
-rw-r--r--map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/map.h b/map.h
index 05f758f6d..60ac5e814 100644
--- a/map.h
+++ b/map.h
@@ -71,6 +71,8 @@ typedef enum Owner {
OWNER_TOWN = 0x0F, // a town owns the tile
OWNER_NONE = 0x10, // nobody owns the tile
OWNER_WATER = 0x11, // "water" owns the tile
+ OWNER_END = 0x12,
+
OWNER_SPECTATOR = 0xFF, // spectator in MP or in scenario editor
} Owner;