<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40113 >
> [book - Mon Feb 25 02:47:42 2008]: > > I will see if I cannot fix this (kind of hard to work > on the editor if I cannot start a game ;)). So here is a quick patch that addresses the underlying cause as I understand it at the moment.
>From 537f83146dce55c7805aa8b0eaaee3a0cca4d977 Mon Sep 17 00:00:00 2001 From: Madeline Book <[EMAIL PROTECTED]> Date: Sun, 24 Feb 2008 23:47:38 -0500 Subject: [PATCH] (PR#40113) Fix assertion failure when picking nation. The civclient global variable client.playing was not being updated when the client received a packet of type PACKET_CONN_INFO (see handle_conn_info in client/packhand.c). This would result in client.playing being NULL under certain circumstances thus causing the assertion in question to fail. --- client/packhand.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/packhand.c b/client/packhand.c index 0eacef8..e3691d8 100644 --- a/client/packhand.c +++ b/client/packhand.c @@ -1955,6 +1955,7 @@ void handle_conn_info(struct packet_conn_info *pinfo) aconnection.observer = pconn->observer; aconnection.access_level = pconn->access_level; aconnection.player = pplayer; + client.playing = pplayer; } } update_players_dialog(); -- 1.5.3.8
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev