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.65 by root, Tue Dec 26 04:05:56 2006 UTC vs.
Revision 1.66 by root, Tue Dec 26 04:36:17 2006 UTC

316void 316void
317player::do_destroy () 317player::do_destroy ()
318{ 318{
319 attachable::do_destroy (); 319 attachable::do_destroy ();
320 320
321 save (false);
322 enable_save = false;
323
321 disconnect (); 324 disconnect ();
322 325
323 terminate_all_pets (ob); 326 terminate_all_pets (ob);
324 327
325 if (first_player != this) 328 if (first_player != this)
339 } 342 }
340 else 343 else
341 first_player = next; 344 first_player = next;
342 345
343 if (ob) 346 if (ob)
347 {
348 ob->destroy_inv (false);
344 ob->destroy (true); 349 ob->destroy (true);
350 }
345 351
346 if (ns) 352 if (ns)
347 { 353 {
348 client *ns = this->ns; 354 client *ns = this->ns;
349 ns->send_packet ("goodbye"); 355 ns->send_packet ("goodbye");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines