The International Simutrans Forum

 

Author Topic: [solved]r2260 - Wrong title bar color on bunkrupt window  (Read 1711 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
[solved]r2260 - Wrong title bar color on bunkrupt window
« on: January 24, 2009, 12:20:02 PM »
Color of title bar on bunkrupt window is not a player color.
A patch attaced

Code: [Select]
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]
« Last Edit: January 29, 2009, 05:10:25 PM by z9999 »