[Freeciv-Dev] (PR#11876) Send pplayer->is_observer info to clients
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#11876) Send pplayer->is_observer info to clients |
From: |
"Per I. Mathisen" <per@xxxxxxxxxxx> |
Date: |
Sun, 9 Jan 2005 15:12:23 -0800 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11876 >
See $SUBJECT.
- Per
Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.455
diff -u -r1.455 packhand.c
--- client/packhand.c 21 Dec 2004 03:36:18 -0000 1.455
+++ client/packhand.c 9 Jan 2005 22:27:26 -0000
@@ -1455,6 +1455,7 @@
sz_strlcpy(pplayer->name, pinfo->name);
+ pplayer->is_observer = pinfo->is_observer;
pplayer->nation=pinfo->nation;
pplayer->is_male=pinfo->is_male;
pplayer->team = pinfo->team;
Index: common/packets.def
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/packets.def,v
retrieving revision 1.86
diff -u -r1.86 packets.def
--- common/packets.def 6 Jan 2005 00:35:50 -0000 1.86
+++ common/packets.def 9 Jan 2005 22:27:27 -0000
@@ -539,6 +539,7 @@
STRING name[MAX_LEN_NAME];
STRING username[MAX_LEN_NAME];
+ BOOL is_observer;
BOOL is_male;
GOVERNMENT government;
GOVERNMENT target_government;
Index: server/plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.349
diff -u -r1.349 plrhand.c
--- server/plrhand.c 1 Jan 2005 21:48:10 -0000 1.349
+++ server/plrhand.c 9 Jan 2005 22:27:30 -0000
@@ -1464,6 +1464,7 @@
sz_strlcpy(packet->username, plr->username);
packet->nation=plr->nation;
packet->is_male=plr->is_male;
+ packet->is_observer=plr->is_observer;
packet->team = plr->team;
packet->city_style=plr->city_style;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#11876) Send pplayer->is_observer info to clients,
Per I. Mathisen <=
|
|