mirror of https://github.com/OpenTTD/OpenTTD
(svn r3284) -Fix: DoCommand always cleans up _cmd_text (tnx to Tron)
parent
ba7cc8e190
commit
0de260182b
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;
|
||||||
|
|
Loading…
Reference in New Issue