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.140 by root, Sun Apr 13 01:34:09 2008 UTC vs.
Revision 1.141 by root, Sun Apr 13 01:36:06 2008 UTC

977 price_in = item->value; 977 price_in = item->value;
978 item->destroy (); 978 item->destroy ();
979 } 979 }
980 } 980 }
981 981
982 fprintf (stderr, "price_in %lld nr %lld\n", price_in, nr);//D
983
984 if (converter->inv) 982 if (converter->inv)
985 { 983 {
986 object *ob; 984 object *ob;
987 int i; 985 int i;
988 object *ob_to_copy; 986 object *ob_to_copy;
1013 if (CONV_NR (converter)) 1011 if (CONV_NR (converter))
1014 item->nrof = CONV_NR (converter); 1012 item->nrof = CONV_NR (converter);
1015 1013
1016 if (nr) 1014 if (nr)
1017 item->nrof *= nr; 1015 item->nrof *= nr;
1018
1019 fprintf (stderr, "outnrof %lld\n", sint64(item->nrof));//D
1020 1016
1021 if (is_in_shop (converter)) 1017 if (is_in_shop (converter))
1022 SET_FLAG (item, FLAG_UNPAID); 1018 SET_FLAG (item, FLAG_UNPAID);
1023 else if (price_in < sint64 (item->nrof) * item->value) 1019 else if (price_in < sint64 (item->nrof) * item->value)
1024 { 1020 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines