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

Comparing deliantra/server/ext/ipo.ext (file contents):
Revision 1.13 by root, Tue Apr 22 02:46:18 2008 UTC vs.
Revision 1.14 by elmex, Thu Apr 24 11:05:51 2008 UTC

176 if ($cmd eq 'mailwarning' and !$who->flag (cf::FLAG_WIZ)) { 176 if ($cmd eq 'mailwarning' and !$who->flag (cf::FLAG_WIZ)) {
177 return 1; 177 return 1;
178 } 178 }
179 179
180 if ($who->pay_amount ($pr->[0] * $price_fact)) { 180 if ($who->pay_amount ($pr->[0] * $price_fact)) {
181 cf::async {
181 if ($pr->[3] && not cf::player::exists $arguments) { 182 if ($pr->[3] && not cf::player::exists $arguments) {
182 $who->reply ($npc, "Sorry, there is no '$arguments'"); 183 $who->reply ($npc, "Sorry, there is no '$arguments'");
183 } else { 184 } else {
184 create_object ($pr->[1], $who->map, $x, $y, $pr->[2], $who->name, $arguments); 185 create_object ($pr->[1], $who->map, $x, $y, $pr->[2], $who->name, $arguments);
185 $who->reply ($npc, "Here is your $cmd"); 186 $who->reply ($npc, "Here is your $cmd");
187 }
186 } 188 }
187 } else { 189 } else {
188 $who->reply ($npc, "Sorry, you don't have enough money."); 190 $who->reply ($npc, "Sorry, you don't have enough money.");
189 } 191 }
190 192

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines