News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

[solved]r2260 - Wrong title bar color on bunkrupt window

Started by z9999, January 24, 2009, 12:20:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

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]