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.6 by root, Tue Jun 19 17:32:56 2007 UTC vs.
Revision 1.7 by elmex, Tue Jun 19 18:14:36 2007 UTC

33sub dialog_tell { 33sub dialog_tell {
34 my ($id, $dialog, $msg) = @_; 34 my ($id, $dialog, $msg) = @_;
35 35
36 my $pl = $dialog->{pl}; 36 my $pl = $dialog->{pl};
37 my ($reply, @kw) = $dialog->tell ($msg); 37 my ($reply, @kw) = $dialog->tell ($msg);
38
38 $reply = "..." unless $reply; 39 $reply = "..." unless defined $reply;
40 return if $reply eq ""; # NPC doesn't want to say, or wants to say something later
39 41
40 $pl->ext_reply ($id => msgtype => "reply", msg => $reply, add_topics => \@kw); 42 $pl->ext_reply ($id => msgtype => "reply", msg => $reply, add_topics => \@kw);
41} 43}
42 44
43=item ... = extcmd lookat { dx => $dx, dy => $dy } 45=item ... = extcmd lookat { dx => $dx, dy => $dy }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines