summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-10-05 04:00:39 +0000
committerpeter1138 <peter1138@openttd.org>2005-10-05 04:00:39 +0000
commit102cf2615f8ffb4e260680a5f2b3b7d9f2a7a130 (patch)
treef00cf9950d59dd9bb3f70458db6cee8b564488bd
parentabe60acbbb18414c088a77958eb04d5d68a7f9cc (diff)
downloadopenttd-102cf2615f8ffb4e260680a5f2b3b7d9f2a7a130.tar.xz
(svn r3018) -Fix: Fixed industry colour issue introduced in r3010.
-rw-r--r--industry_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 3ba5adbc7..00ea6068f 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -1487,8 +1487,8 @@ static void DoCreateNewIndustry(Industry *i, TileIndex tile, int type, const Ind
i->owner = owner;
r = Random();
- i->color_map = GB(r, 8, 8);
- i->counter = GB(r, 0, 16);
+ i->color_map = GB(r, 8, 4);
+ i->counter = GB(r, 0, 12);
i->cargo_waiting[0] = 0;
i->cargo_waiting[1] = 0;
i->last_mo_production[0] = 0;