train_gui.c
changeset 1402 05f6d79373ee
parent 1387 eff794048d92
child 1485 a2f36708c260
--- a/train_gui.c	Tue Feb 22 19:38:44 2005 +0000
+++ b/train_gui.c	Tue Feb 22 20:32:26 2005 +0000
@@ -1487,7 +1487,7 @@
 		w = AllocateWindowDescFront(&_other_player_trains_desc, (station << 16) | player);
 	}
 	if (w) {
-		w->caption_color = w->window_number;
+		w->caption_color = player;
 		w->hscroll.cap = 10;
 		w->vscroll.cap = 7; // maximum number of vehicles shown
 		w->widget[7].unkA = (w->vscroll.cap << 8) + 1;