[Freeciv-Dev] (PR#9316) specialist names not sent to client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9316) specialist names not sent to client |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Thu, 8 Jul 2004 10:31:58 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9316 >
The specialist names are read from the ruleset and used by the server.
They're in the game ruleset packet and are read from it by the client.
But the server never puts them into the game ruleset packet.
jason
Index: server/ruleset.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/ruleset.c,v
retrieving revision 1.176
diff -u -r1.176 ruleset.c
--- server/ruleset.c 7 Jul 2004 16:02:50 -0000 1.176
+++ server/ruleset.c 8 Jul 2004 17:30:49 -0000
@@ -3116,6 +3116,7 @@
struct packet_ruleset_game misc_p;
for (i = 0; i < SP_COUNT; i++) {
+ sz_strlcpy(misc_p.specialist_name[i], game.rgame.specialists[i].name);
misc_p.specialist_min_size[i] = game.rgame.specialists[i].min_size;
misc_p.specialist_bonus[i] = game.rgame.specialists[i].bonus;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#9316) specialist names not sent to client,
Jason Short <=
|
|