Project

General

Profile

Bug #2505 ยป 0001-server-Cancel-a-removed-player-s-meetings.patch

Sweet Tea Dorminy, 11/28/2026 11:15 PM

View differences:

server/plrhand.c
server.nbarbarians--;
}
/* Treaties point to the player. Cancel them while the player's own
* connections are still attached to hear it. */
cancel_all_meetings(pplayer);
/* Don't use conn_list_iterate here because connection_detach() can be
* recursive and free the next connection pointer. */
while (conn_list_size(pplayer->connections) > 0) {
    (1-1/1)