summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-12-10 18:47:40 +0000
committertruelight <truelight@openttd.org>2005-12-10 18:47:40 +0000
commit0de260182b2e2439429c0f50ae6dd9eaf9c29c4b (patch)
treee647020b08d7d0174a1f37a3e9dac86ca8792239
parentba7cc8e190ade4cdd41e367f95bcac62a8d8e0e6 (diff)
downloadopenttd-0de260182b2e2439429c0f50ae6dd9eaf9c29c4b.tar.xz
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
-rw-r--r--ai/ai.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ai/ai.c b/ai/ai.c
index 8d8962eb7..2177daf1e 100644
--- a/ai/ai.c
+++ b/ai/ai.c
@@ -47,7 +47,6 @@ void AI_DequeueCommands(byte player)
/* Copy the DP back in place */
_cmd_text = com->text;
DoCommandP(com->tile, com->p1, com->p2, NULL, com->procc);
- _cmd_text = NULL;
/* Free item */
entry_com = com->next;