summaryrefslogtreecommitdiff
path: root/ai
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-12-13 21:21:57 +0000
committerDarkvater <darkvater@openttd.org>2005-12-13 21:21:57 +0000
commit56998926e7b1e8f93460b6c0cc826479b4f465e5 (patch)
tree641d3c568019ae2e01d4e7be32c3754de9e2c2ee /ai
parent2a60262c99e1236db2019f470e4e39c72d4a9857 (diff)
downloadopenttd-56998926e7b1e8f93460b6c0cc826479b4f465e5.tar.xz
(svn r3294) - Fix: use INVALID_STRING_ID instead of -1.
- Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages.
Diffstat (limited to 'ai')
-rw-r--r--ai/trolly/trolly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/trolly/trolly.c b/ai/trolly/trolly.c
index a2a0f8a35..20aa3594c 100644
--- a/ai/trolly/trolly.c
+++ b/ai/trolly/trolly.c
@@ -45,7 +45,7 @@ static void AiNew_State_FirstTime(Player *p)
// We first have to init some things
if (_current_player == 1 || _ai.network_client) {
- ShowErrorMessage(-1, TEMP_AI_IN_PROGRESS, 0, 0);
+ ShowErrorMessage(INVALID_STRING_ID, TEMP_AI_IN_PROGRESS, 0, 0);
}
// The PathFinder (AyStar)