[Freeciv-Dev] goto_is_sane() is really insane (PR#2145)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
goto_is_sane() is very really in /freeciv-1.13.0/server/gotohand.c :
in function: goto_is_sane()
1231:
} else if (is_sailing_unit(punit) &&
(omni || map_get_known_and_seen(x, y, pplayer)) &&
map_get_terrain(x, y) != T_OCEAN && !map_get_city(x, y) &&
!is_terrain_near_tile(x, y, T_OCEAN)) {
return FALSE;
}
correction:
} else if (is_sailing_unit(punit) &&
(omni || map_get_known_and_seen(x, y, pplayer)) &&
map_get_terrain(x, y) != T_OCEAN &&
!(map_get_city(x, y) && is_terrain_near_tile(x, y,
T_OCEAN)) ) {
return FALSE;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] goto_is_sane() is really insane (PR#2145),
STyx <=
|
|