(svn r3018) -Fix: Fixed industry colour issue introduced in r3010.
authorpeter1138
Wed, 05 Oct 2005 04:00:39 +0000
changeset 2492 3f32f9f9fd78
parent 2491 dfe9542f783e
child 2493 d834d0c1502a
(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;