summaryrefslogtreecommitdiff
path: root/src/gfxinit.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-31 15:15:00 +0000
committerrubidium <rubidium@openttd.org>2007-05-31 15:15:00 +0000
commit253aa1b0b03aed312581de35d7e35bc17b96190f (patch)
tree3d9486f1a21425d7003ab07134c9311a3d77cb1a /src/gfxinit.cpp
parenta02417645e4cf1563b01819ac92ab507277b5b56 (diff)
downloadopenttd-253aa1b0b03aed312581de35d7e35bc17b96190f.tar.xz
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r--src/gfxinit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp
index b1f6e4ab2..9abdd1679 100644
--- a/src/gfxinit.cpp
+++ b/src/gfxinit.cpp
@@ -399,6 +399,9 @@ static void LoadSpriteTables()
assert(load_index == SPR_TRAMWAY_BASE);
load_index += LoadGrfFile("tramtrkw.grf", load_index, i++);
+ assert(load_index == SPR_ONEWAY_BASE);
+ load_index += LoadGrfFile("oneway.grf", load_index, i++);
+
/* Initialize the unicode to sprite mapping table */
InitializeUnicodeGlyphMap();