summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-07-05 16:39:56 +0000
committerbelugas <belugas@openttd.org>2007-07-05 16:39:56 +0000
commitb9dad0d82f4ee5c363180a6e483caa649ebe8875 (patch)
treeb01fa2c9a33ce634b8f566667ef629521248f029 /src
parentf21f6554d882d9081096761d116ccb7430678749 (diff)
downloadopenttd-b9dad0d82f4ee5c363180a6e483caa649ebe8875.tar.xz
(svn r10448) -Codechange: Industry Tiles and Houses share almost the same spritegroup format.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 80268a750..c27807625 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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;