summaryrefslogtreecommitdiff
path: root/ai
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
commitaf1531db4a742eb77cf5a633dd7f0af68ce97028 (patch)
treee647020b08d7d0174a1f37a3e9dac86ca8792239 /ai
parentd8721d33e6d34150485f50ac19414364552b0b16 (diff)
downloadopenttd-af1531db4a742eb77cf5a633dd7f0af68ce97028.tar.xz
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
Diffstat (limited to 'ai')
-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;