Project

General

Profile

Bug #1067 » 0059-Correct-client-knowledge-about-original-city-owner.patch

main, S3_2 - Marko Lindqvist, 11/08/2024 09:44 PM

View differences:

client/packhand.c
pcity->tile = pcenter;
ptile = pcenter;
pcity->owner = powner;
pcity->original = player_by_number(packet->original);
} else if (city_owner(pcity) != powner) {
/* Remember what were the worked tiles. The server won't
* send them to us again. */
......
city_name_set(pcity, packet->name);
}
pcity->original = player_by_number(packet->original);
/* Check data */
city_size_set(pcity, 0);
for (i = 0; i < FEELING_LAST; i++) {
(1-1/2)