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.96 by root, Mon Jan 8 19:25:53 2007 UTC vs.
Revision 1.97 by root, Mon Jan 8 22:32:11 2007 UTC

213 this->ns = ns; 213 this->ns = ns;
214 ns->pl = this; 214 ns->pl = this;
215 215
216 run_on = 0; 216 run_on = 0;
217 fire_on = 0; 217 fire_on = 0;
218 ob->container = 0; //TODO: client-specific
218 219
219 ns->update_look = 0; 220 ns->update_look = 0;
220 ns->look_position = 0; 221 ns->look_position = 0;
221 222
222 clear_los (ob); 223 clear_los (ob);
293 if (active) 294 if (active)
294 INVOKE_PLAYER (LOGOUT, this, ARG_INT (0)); 295 INVOKE_PLAYER (LOGOUT, this, ARG_INT (0));
295 296
296 INVOKE_PLAYER (DISCONNECT, this); 297 INVOKE_PLAYER (DISCONNECT, this);
297 298
299 ns->reset_stats ();
298 ns->pl = 0; 300 ns->pl = 0;
299 this->ns = 0; 301 this->ns = 0;
300 } 302 }
301 303
304 ob->container = 0; //TODO: client-specific
302 deactivate (); 305 deactivate ();
303} 306}
304 307
305// the need for this function can be explained 308// the need for this function can be explained
306// by load_object not returning the object 309// by load_object not returning the object

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines