[Freeciv-Dev] (PR#14546) S1_14 Civserver crash in update_dumb_city()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14546 >
This patch fixes it.
-jason
Index: server/citytools.c
===================================================================
--- server/citytools.c (revision 11306)
+++ server/citytools.c (working copy)
@@ -1541,7 +1541,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#14546) S1_14 Civserver crash in update_dumb_city(),
Jason Short <=
|
|