mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
This commit is contained in:
1
ai/ai.c
1
ai/ai.c
@@ -47,7 +47,6 @@ void AI_DequeueCommands(byte player)
|
|||||||
/* Copy the DP back in place */
|
/* Copy the DP back in place */
|
||||||
_cmd_text = com->text;
|
_cmd_text = com->text;
|
||||||
DoCommandP(com->tile, com->p1, com->p2, NULL, com->procc);
|
DoCommandP(com->tile, com->p1, com->p2, NULL, com->procc);
|
||||||
_cmd_text = NULL;
|
|
||||||
|
|
||||||
/* Free item */
|
/* Free item */
|
||||||
entry_com = com->next;
|
entry_com = com->next;
|
||||||
|
Reference in New Issue
Block a user