diff options
author | peter1138 <peter1138@openttd.org> | 2006-03-01 23:14:03 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-03-01 23:14:03 +0000 |
commit | 741fc265225e879d77515d14f056c8969f6fde82 (patch) | |
tree | 5d55a4f5db80674d8bee645029acf2132b708c08 /gfxinit.c | |
parent | 4367870b18782051c9262e7d599341749c2206fa (diff) | |
download | openttd-741fc265225e879d77515d14f056c8969f6fde82.tar.xz |
(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring them. Currently the second colour is fixed to be the player's colour.
Diffstat (limited to 'gfxinit.c')
-rw-r--r-- | gfxinit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -352,6 +352,9 @@ static void LoadSpriteTables(void) load_index = SPR_AUTORAIL_BASE; load_index += LoadGrfFile("autorail.grf", load_index, i++); + assert(load_index == SPR_2CCMAP_BASE); + load_index += LoadGrfFile("2ccmap.grf", load_index, i++); + assert(load_index == SPR_OPENTTD_BASE); LoadGrfIndexed("openttd.grf", _openttd_grf_indexes, i++); load_index = SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT; |