ai/ai.c
changeset 4077 d3022f976946
parent 4000 bab1ebc37da0
child 4848 56549aa3e234
equal deleted inserted replaced
4076:e3ef1c1f149c 4077:d3022f976946
    28 
    28 
    29 	/* Dequeue all commands */
    29 	/* Dequeue all commands */
    30 	while ((com = entry_com) != NULL) {
    30 	while ((com = entry_com) != NULL) {
    31 		_current_player = player;
    31 		_current_player = player;
    32 
    32 
    33 		/* Copy the DP back in place */
       
    34 		_cmd_text = com->text;
    33 		_cmd_text = com->text;
    35 		DoCommandP(com->tile, com->p1, com->p2, com->callback, com->procc);
    34 		DoCommandP(com->tile, com->p1, com->p2, com->callback, com->procc);
    36 
    35 
    37 		/* Free item */
    36 		/* Free item */
    38 		entry_com = com->next;
    37 		entry_com = com->next;