ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/player.C
(Generate patch)

Comparing deliantra/server/server/player.C (file contents):
Revision 1.41 by root, Fri Dec 15 04:21:29 2006 UTC vs.
Revision 1.42 by root, Fri Dec 15 19:59:20 2006 UTC

27#include <sounds.h> 27#include <sounds.h>
28#include <living.h> 28#include <living.h>
29#include <object.h> 29#include <object.h>
30#include <spells.h> 30#include <spells.h>
31#include <skills.h> 31#include <skills.h>
32#include <newclient.h>
33 32
34#ifdef COZY_SERVER 33#ifdef COZY_SERVER
35extern int same_party (partylist *a, partylist *b); 34extern int same_party (partylist *a, partylist *b);
36#endif 35#endif
37 36
301 * All we can really get in this is some settings like host and display 300 * All we can really get in this is some settings like host and display
302 * mode. 301 * mode.
303 */ 302 */
304 303
305int 304int
306add_player (client_socket *ns) 305add_player (client *ns)
307{ 306{
308 player *p = new player; 307 player *p = new player;
309 308
310 p->socket = ns; 309 p->socket = ns;
311 ns->pl = p; 310 ns->pl = p;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines