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

Comparing deliantra/server/ext/chat.ext (file contents):
Revision 1.34 by root, Sat Oct 20 05:07:19 2007 UTC vs.
Revision 1.35 by root, Sat Oct 20 05:16:44 2007 UTC

785 785
786 if ($msg) { 786 if ($msg) {
787 my $name = $ob->name; 787 my $name = $ob->name;
788 my @plonmap = grep $ob->on_same_map_as ($_->ob), cf::player::list; 788 my @plonmap = grep $ob->on_same_map_as ($_->ob), cf::player::list;
789 789
790 send_msg $_, $SAY_CHANNEL => "$name says: $msg", cf::NDI_GREY | ($_ == $ob->contr ? cf::NDI_REPLY : 0), "msg_say" 790 send_msg $_, $SAY_CHANNEL => "$name says: $msg", cf::NDI_GREY, "msg_say"
791 for @plonmap; 791 for grep $_ != $ob->contr, @plonmap;
792 $ob->contr->send_msg ($SAY_CHANNEL => "$name says: $msg", cf::NDI_GREY | cf::NDI_REPLY);
792 793
793 # npcs, magic_ears etc. 794 # npcs, magic_ears etc.
794 # first find all objects and their first-level inventories 795 # first find all objects and their first-level inventories
795 # within a 5x5 square that have something resembling 796 # within a 5x5 square that have something resembling
796 # dialogue or support on_say. 797 # dialogue or support on_say.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines