summaryrefslogtreecommitdiff
path: root/ai/trolly/trolly.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-15 17:01:19 +0000
committerDarkvater <darkvater@openttd.org>2006-10-15 17:01:19 +0000
commitb2110cbaedbbbbb18769e4594f416dfef1c733fd (patch)
tree2918811729d57202b30a05affd69972a8168873b /ai/trolly/trolly.c
parent5a1ee9e02b21b6be130beda5d2c6a51c8b00239f (diff)
downloadopenttd-b2110cbaedbbbbb18769e4594f416dfef1c733fd.tar.xz
(svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP).
Diffstat (limited to 'ai/trolly/trolly.c')
-rw-r--r--ai/trolly/trolly.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ai/trolly/trolly.c b/ai/trolly/trolly.c
index e15356379..d952975b9 100644
--- a/ai/trolly/trolly.c
+++ b/ai/trolly/trolly.c
@@ -48,9 +48,7 @@ static void AiNew_State_FirstTime(Player *p)
assert(p->ainew.state == AI_STATE_FIRST_TIME);
// We first have to init some things
- if (_current_player == 1 || _ai.network_client) {
- ShowErrorMessage(INVALID_STRING_ID, TEMP_AI_IN_PROGRESS, 0, 0);
- }
+ if (_current_player == 1) ShowErrorMessage(INVALID_STRING_ID, TEMP_AI_IN_PROGRESS, 0, 0);
// The PathFinder (AyStar)
// TODO: Maybe when an AI goes bankrupt, this is de-init