diff options
author | peter1138 <peter1138@openttd.org> | 2007-05-20 09:17:42 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-05-20 09:17:42 +0000 |
commit | ee2feef6e702432e835ba6c1c1e3786e763734f1 (patch) | |
tree | 562dbef75052d1b7e5c5635c813896dbc7f68ea5 /src/station_gui.cpp | |
parent | 72972a171272461e1609e2db7959943c1208c467 (diff) | |
download | openttd-ee2feef6e702432e835ba6c1c1e3786e763734f1.tar.xz |
(svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index e17f9ac56..045f927b9 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -686,7 +686,7 @@ static void DrawCargoIcons(CargoID i, uint waiting, int x, int y) sprite = cs->sprite; } - if (sprite == 0) return; + if (sprite == 0) sprite = SPR_CARGO_GOODS; do { DrawSprite(sprite, PAL_NONE, x, y); |