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

Comparing deliantra/server/ext/player-scheduler.ext (file contents):
Revision 1.1 by root, Sat Sep 20 00:09:27 2008 UTC vs.
Revision 1.2 by root, Tue Sep 30 10:09:51 2008 UTC

30 my $ob = $pl->ob; 30 my $ob = $pl->ob;
31 31
32 my $pl_ref = $pl->refcnt_cnt; 32 my $pl_ref = $pl->refcnt_cnt;
33 my $ob_ref = $ob->refcnt_cnt; 33 my $ob_ref = $ob->refcnt_cnt;
34 34
35 ## pl_ref == $pl + ob->contr + %cf::PLAYER 35 ## pl_ref == (P)$pl + (P)%cf::PLAYER + (C)ob->contr
36 ## ob_ref == $ob + pl->observe + simply being an object 36 ## ob_ref == (P)$ob + (C)pl->observe + (C)simply being an object
37 if ($pl_ref == 3 && $ob_ref == 3) { 37 if ($pl_ref == 3 && $ob_ref == 3) {
38 warn "player-scheduler destroy ", $ob->name;#d# 38 warn "player-scheduler destroy ", $ob->name;#d#
39 39
40 # remove from sight and get fresh "copies" 40 # remove from sight and get fresh "copies"
41 $pl = delete $cf::PLAYER{$ob->name}; 41 $pl = delete $cf::PLAYER{$ob->name};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines