The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999 on January 24, 2009, 12:20:02 PM

Title: [solved]r2260 - Wrong title bar color on bunkrupt window
Post by: z9999 on January 24, 2009, 12:20:02 PM
Color of title bar on bunkrupt window is not a player color.
A patch attaced


Index: simplay.cc
===================================================================
--- simplay.cc (r2260)
+++ simplay.cc (copy)
@@ -607,7 +607,7 @@
automat = false;
char buf[256];
sprintf(buf, translator::translate("%s\nwas liquidated."), get_name() );
- welt->get_message()->add_message( buf, koord::invalid, message_t::ai, player_nr );
+ welt->get_message()->add_message( buf, koord::invalid, message_t::ai, PLAYER_FLAG|player_nr );
}






Solved in r2271. Thank you.

[attachment deleted by admin]