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.40 by root, Mon Apr 16 15:50:49 2007 UTC vs.
Revision 1.42 by root, Wed Apr 18 17:32:06 2007 UTC

3# login handling 3# login handling
4 4
5use Fcntl; 5use Fcntl;
6use Coro::AIO; 6use Coro::AIO;
7use List::Util qw(min max); 7use List::Util qw(min max);
8
9my $PLAYERDIR = sprintf "%s/%s", cf::localdir, cf::playerdir;
10 8
11# paranoia function to overwrite a string-in-place 9# paranoia function to overwrite a string-in-place
12sub nuke_str { 10sub nuke_str {
13 substr $_[0], 0, (length $_[0]), "x" x length $_[0] 11 substr $_[0], 0, (length $_[0]), "x" x length $_[0]
14} 12}
140 138
141 } elsif ($k eq "facecache") { 139 } elsif ($k eq "facecache") {
142 if (!$v) { 140 if (!$v) {
143 $v = 1; 141 $v = 1;
144 $setup{$k} = $v; 142 $setup{$k} = $v;
145 $ns->send_drawinfo ("(trying to force facecaching to be enabled)", cf::NDI_RED); 143 $ns->send_drawinfo ("(trying to forcefully enable facecaching)", cf::NDI_RED);
146 } 144 }
147 145
148 $ns->facecache ($v); 146 $ns->facecache ($v);
149 147
150 } elsif ($k eq "faceset") { 148 } elsif ($k eq "faceset") {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines