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

Comparing deliantra/server/ext/quest_master.ext (file contents):
Revision 1.5 by root, Mon Sep 22 01:33:09 2008 UTC vs.
Revision 1.6 by root, Mon Sep 29 09:51:42 2008 UTC

168 168
169 if ($q->{match}->[0] eq 'marker') { 169 if ($q->{match}->[0] eq 'marker') {
170 my $force; 170 my $force;
171 ext::map_lib::rec_inv_by_slaying ($who, $q->{match}->[1], sub { $force = $_[0] }); 171 ext::map_lib::rec_inv_by_slaying ($who, $q->{match}->[1], sub { $force = $_[0] });
172 if ($force) { 172 if ($force) {
173 $force->remove;
174 $force->destroy (1); 173 $force->destroy;
175 $who->reply ($npc, "Successfully erased quest marker '$q->{name}' from you!"); 174 $who->reply ($npc, "Successfully erased quest marker '$q->{name}' from you!");
176 175
177 } else { 176 } else {
178 $who->reply ($npc, "I'm sorry, but you never had a quest marker for the '$q->{name}' quest!"); 177 $who->reply ($npc, "I'm sorry, but you never had a quest marker for the '$q->{name}' quest!");
179 } 178 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines