summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-14 14:57:51 +0000
committerrubidium <rubidium@openttd.org>2010-12-14 14:57:51 +0000
commite68efb9e719a028f14da9965d4e3795252b2cbad (patch)
treec0b28a52236d51805034fab159a15a305402ca06 /src/network/network.cpp
parent4045429df6e39fbd020a5feda379177b2d2bc267 (diff)
downloadopenttd-e68efb9e719a028f14da9965d4e3795252b2cbad.tar.xz
(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
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 5631643d2..4e3fb53b4 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -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) {