1
0
Fork 0

(svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format.

release/0.6
belugas 2007-07-05 16:39:56 +00:00
parent f21f6554d8
commit b9dad0d82f
1 changed files with 2 additions and 1 deletions

View File

@ -2207,7 +2207,8 @@ static void NewSpriteGroup(byte *buf, int len)
break;
}
case GSF_TOWNHOUSE: {
case GSF_TOWNHOUSE:
case GSF_INDUSTRYTILES: {
byte sprites = _cur_grffile->spriteset_numents;
byte num_sprites = max((uint8)1, type);
uint i;