(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused

This commit is contained in:
rubidium
2010-12-14 14:57:51 +00:00
parent 4045429df6
commit e68efb9e71
5 changed files with 17 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ bool NetworkCompanyIsPassworded(CompanyID company_id)
* If 'self_send' is true, this is the client who is sending the message */
void NetworkTextMessage(NetworkAction action, ConsoleColour colour, bool self_send, const char *name, const char *str, int64 data)
{
const int duration = 10; // Game days the messages stay visible
const int duration = 20; // Seconds the messages stay visible
StringID strid;
switch (action) {