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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.212 by root, Sat Nov 7 18:30:05 2009 UTC vs.
Revision 1.213 by elmex, Mon Nov 9 13:38:36 2009 UTC

860 * what the converter wants, this will not do anything. 860 * what the converter wants, this will not do anything.
861 */ 861 */
862int 862int
863convert_item (object *item, object *converter) 863convert_item (object *item, object *converter)
864{ 864{
865 sint64 nr, price_in; 865 sint64 nr = 0, price_in;
866 866
867 if (item->flag [FLAG_UNPAID]) 867 if (item->flag [FLAG_UNPAID])
868 return 0; 868 return 0;
869 869
870 shstr conv_from = converter->slaying; 870 shstr conv_from = converter->slaying;
871 archetype *conv_to = converter->other_arch; 871 archetype *conv_to = converter->other_arch;
872 sint64 need = converter->stats.food; 872 sint64 need = converter->stats.food;
873 sint64 give = converter->stats.sp; 873 sint64 give = converter->stats.sp;
874 874

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines