forked from mirror/OpenTTD
(svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user