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.88 by root, Sat May 12 08:36:35 2007 UTC vs.
Revision 1.89 by root, Sat May 12 13:27:38 2007 UTC

2942 * one choice. However, the check for the number of body locations 2942 * one choice. However, the check for the number of body locations
2943 * does take into the account cases where what is being applied 2943 * does take into the account cases where what is being applied
2944 * may be two handed for example. 2944 * may be two handed for example.
2945 */ 2945 */
2946 if (ws) 2946 if (ws)
2947 {
2948 if ((who->slot[i].used - ws->slot[i].info + op->slot[i].info) >= 0) 2947 if ((who->slot[i].used - ws->slot[i].info + op->slot[i].info) >= 0)
2949 { 2948 {
2950 retval |= CAN_APPLY_UNAPPLY; 2949 retval |= CAN_APPLY_UNAPPLY;
2951 continue; 2950 continue;
2952 } 2951 }
2953 }
2954 2952
2955 object *tmp1 = get_item_from_body_location (i, who->inv); 2953 object *tmp1 = get_item_from_body_location (i, who->inv);
2956 if (!tmp1) 2954 if (!tmp1)
2957 { 2955 {
2958#if 0 2956#if 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines