[Freeciv-Dev] Re: (PR#12883) generate_packets.py bug: handle-per-conn do
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12883 >
an additional patch was needed. Hopefully it's right.
-mike
Index: common/generate_packets.py
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/generate_packets.py,v
retrieving revision 1.18
diff -u -r1.18 generate_packets.py
--- common/generate_packets.py 26 Apr 2005 22:03:28 -0000 1.18
+++ common/generate_packets.py 26 Apr 2005 22:18:26 -0000
@@ -1588,7 +1588,11 @@
b=",\n "+b
if p.handle_via_packet:
- args="pplayer, packet"
+ if p.handle_per_conn:
+ args="pconn, packet"
+ else:
+ args="pplayer, packet"
+
else:
if p.handle_per_conn:
args="pconn"+b
|
|