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

Comparing deliantra/server/ext/reseller.ext (file contents):
Revision 1.15 by elmex, Mon Oct 6 18:26:35 2008 UTC vs.
Revision 1.16 by elmex, Thu Aug 20 18:27:21 2009 UTC

219 . "entry in the inventory item popup menu)." 219 . "entry in the inventory item popup menu)."
220 ); 220 );
221 return cf::override; 221 return cf::override;
222 } 222 }
223 223
224 if ($value > 100 ** 4) { # also for overflow prevention
225 give_back_with_message ($who, $what,
226 "The shopkeeper says: You can't sell something for such a high "
227 . "value. Please keep it below 100 royalty.");
228 return cf::override;
229 }
230
224 if ($value < 0) { 231 if ($value < 0) {
225 give_back_with_message ($who, $what, 232 give_back_with_message ($who, $what,
226 "The shopkeeper says: You can't sell something for a negative value: $value."); 233 "The shopkeeper says: You can't sell something for a negative value: $value.");
227 return cf::override; 234 return cf::override;
228 } 235 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines