[Freeciv-Dev] (PR#6999) possible send_all_known_cities/send_city_info_at
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=6999 >
This patch should fix the problem. This piece of code will need
attention eventually, though.
jason
Index: server/citytools.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/citytools.c,v
retrieving revision 1.246
diff -u -r1.246 citytools.c
--- server/citytools.c 2004/01/11 17:45:05 1.246
+++ server/citytools.c 2004/01/17 04:10:26
@@ -1551,7 +1551,7 @@
if (pcity)
powner = city_owner(pcity);
- if (powner == pviewer) {
+ if (powner && powner == pviewer) {
/* send info to owner */
/* This case implies powner non-NULL which means pcity non-NULL */
/* nocity_send is used to inhibit sending cities to the owner between
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#6999) possible send_all_known_cities/send_city_info_at_tile bug,
Jason Short <=
|
|