<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40477 >
Some leftover code was preventing a global observer from accessing the property editor for players. Attached patch removes this restriction. ---------------------------------------------------------------------- 居直れっ!!
diff --git a/client/gui-gtk-2.0/editgui.c b/client/gui-gtk-2.0/editgui.c index ca1b987..6b9d5fc 100644 --- a/client/gui-gtk-2.0/editgui.c +++ b/client/gui-gtk-2.0/editgui.c @@ -391,10 +391,6 @@ static void editbar_player_properties_button_clicked(GtkButton *b, { struct property_editor *pe; - if (!client_has_player()) { - return; - } - pe = editprop_get_property_editor(); property_editor_reload_players(pe); property_editor_popup(pe);
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev