diff options
author | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-19 16:36:42 +0000 |
commit | 7d325672eb35d6c658d18edb4c763a276e24954c (patch) | |
tree | 43eeb8d8df5dc2673e5adeba591247acb8e3bbe2 /src/gfxinit.cpp | |
parent | 262836a24f2f1f4a2c9c4dec4f7e0b06993839ee (diff) | |
download | openttd-7d325672eb35d6c658d18edb4c763a276e24954c.tar.xz |
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
Diffstat (limited to 'src/gfxinit.cpp')
-rw-r--r-- | src/gfxinit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gfxinit.cpp b/src/gfxinit.cpp index dca2a3c3b..cba9c5461 100644 --- a/src/gfxinit.cpp +++ b/src/gfxinit.cpp @@ -384,6 +384,8 @@ static void LoadSpriteTables() assert(load_index == SPR_ONEWAY_BASE); load_index += LoadGrfFile("oneway.grf", load_index, i++); + load_index++; // SPR_EMPTY_BOUNDING_BOX + assert(load_index == SPR_FLAGS_BASE); load_index += LoadGrfFile("flags.grf", load_index, i++); |