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

Comparing deliantra/server/ext/login.ext (file contents):
Revision 1.38 by root, Tue Apr 10 09:35:23 2007 UTC vs.
Revision 1.41 by root, Tue Apr 17 10:06:33 2007 UTC

137 137
138 } elsif ($k eq "extmap") { 138 } elsif ($k eq "extmap") {
139 $ns->extmap ($v); 139 $ns->extmap ($v);
140 140
141 } elsif ($k eq "facecache") { 141 } elsif ($k eq "facecache") {
142 if (!$v) {
143 $v = 1;
144 $setup{$k} = $v;
145 $ns->send_drawinfo ("(trying to forcefully enable facecaching)", cf::NDI_RED);
146 }
147
142 $ns->facecache ($v); 148 $ns->facecache ($v);
143 149
144 } elsif ($k eq "faceset") { 150 } elsif ($k eq "faceset") {
145 $ns->faceset (0); 151 $ns->faceset (0);
146 $setup{$k} = 0; 152 $setup{$k} = 0;
539 or next; 545 or next;
540 $pl->valid or next; 546 $pl->valid or next;
541 547
542 eval { 548 eval {
543 if ($pl->{last_save} + $SAVE_TIMEOUT <= $cf::RUNTIME) { 549 if ($pl->{last_save} + $SAVE_TIMEOUT <= $cf::RUNTIME) {
544 $cf::WAIT_FOR_TICK_ONE->wait; 550 cf::wait_for_tick_begin;
545 $pl->save; 551 $pl->save;
546 552
547 unless ($pl->active) { 553 unless ($pl->active) {
548 # check refcounts, this is tricky and needs to be adjusted to fit server internals 554 # check refcounts, this is tricky and needs to be adjusted to fit server internals
549 my $ob = $pl->ob; 555 my $ob = $pl->ob;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines