mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format.
This commit is contained in:
parent
f21f6554d8
commit
b9dad0d82f
@ -2207,7 +2207,8 @@ static void NewSpriteGroup(byte *buf, int len)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case GSF_TOWNHOUSE: {
|
case GSF_TOWNHOUSE:
|
||||||
|
case GSF_INDUSTRYTILES: {
|
||||||
byte sprites = _cur_grffile->spriteset_numents;
|
byte sprites = _cur_grffile->spriteset_numents;
|
||||||
byte num_sprites = max((uint8)1, type);
|
byte num_sprites = max((uint8)1, type);
|
||||||
uint i;
|
uint i;
|
||||||
|
Loading…
Reference in New Issue
Block a user