[Freeciv-Dev] (PR#13466) New city popup and observer
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#13466) New city popup and observer |
From: |
"Mateusz Stefek" <mstefek@xxxxxxxxx> |
Date: |
Wed, 13 Jul 2005 03:35:33 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13466 >
City dialogs shouldn't popup in from of an observer screen when the city
is conquered or created. Generally there shouldn't be any popups in
observer mode.
--
mateusz
Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.528
diff -u -r1.528 packhand.c
--- client/packhand.c 9 Jul 2005 17:46:07 -0000 1.528
+++ client/packhand.c 13 Jul 2005 09:59:34 -0000
@@ -593,8 +593,9 @@
city_workers_display=NULL;
}
- if (popup &&
- (!game.player_ptr->ai.control)) {
+ if (popup
+ && (!game.player_ptr->ai.control)
+ && can_client_issue_orders()) {
update_menus();
if (!city_dialog_is_open(pcity)) {
popup_city_dialog(pcity);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#13466) New city popup and observer,
Mateusz Stefek <=
|
|