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
commite7678f47be0288f1aad604a54266493c383cadde (patch)
treeb01fa2c9a33ce634b8f566667ef629521248f029 /src
parent5e7d4ffe9fa2a5f0c3fa8349d7beb885e17c475f (diff)
downloadopenttd-e7678f47be0288f1aad604a54266493c383cadde.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;