Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #871652 ยป 0042-Assert-against-update_dumb_city-error-conditions.patch

Marko Lindqvist, 2020-05-02 08:40 AM

View differences:

server/citytools.c
log_error("Trying to update bad city (wrong location) "
"at %i,%i for player %s",
TILE_XY(pcity->tile), player_name(pplayer));
fc_assert(pdcity->location == pcenter);
pdcity->location = pcenter; /* ?? */
} else if (pdcity->identity != pcity->id) {
log_error("Trying to update old city (wrong identity) "
"at %i,%i for player %s",
TILE_XY(city_tile(pcity)), player_name(pplayer));
fc_assert(pdcity->identity == pcity->id);
pdcity->identity = pcity->id; /* ?? */
} else if (pdcity->occupied == occupied
&& pdcity->walls == walls
    (1-1/1)