[Freeciv-Dev] Re: (PR#11192) CMA detaches after revolution
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11192 >
Hanover is being updated not because of a city packet, but because an
adjacent city has changed. So generic_city_refresh is never called.
This patch fixes it.
jason
Index: client/agents/cma_core.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/agents/cma_core.c,v
retrieving revision 1.67
diff -u -r1.67 cma_core.c
--- client/agents/cma_core.c 25 Nov 2004 07:20:02 -0000 1.67
+++ client/agents/cma_core.c 25 Nov 2004 16:17:54 -0000
@@ -393,6 +393,7 @@
}
pcity = find_city_by_id(city_id);
+ generic_city_refresh(pcity, FALSE, 0);
cm_query_result(pcity, ¶meter, &result);
if (!result.found_a_valid) {
|
|