I am pretty sure the phoenix doesn't work.

This commit is contained in:
Enno Rehling 2016-08-29 20:53:53 +01:00
parent d0c1b2daa4
commit eee4fa9e91
1 changed files with 3 additions and 6 deletions

View File

@ -49,13 +49,10 @@ int amount, struct order *ord)
direction_t direction; direction_t direction;
unit *u2; unit *u2;
direction_t closest_neighbour_direction = 0; direction_t closest_neighbour_direction = 0;
static const race *rc_phoenix = NULL; const race *rc_phoenix = rc_find("phoenix");
if (rc_phoenix == NULL) {
rc_phoenix = rc_find("phoenix");
if (rc_phoenix == NULL) if (rc_phoenix == NULL)
return 0; return 0;
}
/* find the closest phoenix. */ /* find the closest phoenix. */