(svn r3018) -Fix: Fixed industry colour issue introduced in r3010.
authorpeter1138
Wed, 05 Oct 2005 04:00:39 +0000
changeset 2492 b4785c8f3700
parent 2491 15a117630a4f
child 2493 f6b4300cc2b0
(svn r3018) -Fix: Fixed industry colour issue introduced in r3010.
industry_cmd.c
--- a/industry_cmd.c	Tue Oct 04 21:42:00 2005 +0000
+++ b/industry_cmd.c	Wed Oct 05 04:00:39 2005 +0000
@@ -1487,8 +1487,8 @@
 	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;