ai/ai.c
changeset 2739 6a2caa243d5c
parent 2738 01590c341f54
child 2740 4f48b7ad85ba
equal deleted inserted replaced
2738:01590c341f54 2739:6a2caa243d5c
    45 		_current_player = player;
    45 		_current_player = player;
    46 
    46 
    47 		/* Copy the DP back in place */
    47 		/* Copy the DP back in place */
    48 		_cmd_text = com->text;
    48 		_cmd_text = com->text;
    49 		DoCommandP(com->tile, com->p1, com->p2, NULL, com->procc);
    49 		DoCommandP(com->tile, com->p1, com->p2, NULL, com->procc);
    50 		_cmd_text = NULL;
       
    51 
    50 
    52 		/* Free item */
    51 		/* Free item */
    53 		entry_com = com->next;
    52 		entry_com = com->next;
    54 		if (com->text != NULL)
    53 		if (com->text != NULL)
    55 			free(com->text);
    54 			free(com->text);