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

Comparing deliantra/server/ext/cfplus.ext (file contents):
Revision 1.9 by root, Mon Jul 23 21:02:50 2007 UTC vs.
Revision 1.10 by root, Wed Nov 14 08:09:46 2007 UTC

194 }, 194 },
195 on_move => sub { 195 on_move => sub {
196 my ($pl, $dir) = @_; 196 my ($pl, $dir) = @_;
197 197
198 # must delay a bit :/ 198 # must delay a bit :/
199 Event->timer (after => 0, cb => sub { 199 my $delay; $delay = EV::timer 0, 0, sub {
200 $_[0]->w->cancel; 200 undef $delay;
201 201
202 if (my $dialog = $pl->{npc_dialog}) { 202 if (my $dialog = $pl->{npc_dialog}) {
203 my (undef, $dx, $dy) = $pl->ob->rangevector ($dialog->{npc}); 203 my (undef, $dx, $dy) = $pl->ob->rangevector ($dialog->{npc});
204 204
205 return if (abs $dx) <= 2 && (abs $dy) <= 2; 205 return if (abs $dx) <= 2 && (abs $dy) <= 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines