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

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.85 by root, Sun Dec 28 10:20:29 2008 UTC vs.
Revision 1.86 by root, Sun Dec 28 16:35:32 2008 UTC

1299 return 1; 1299 return 1;
1300 } 1300 }
1301 1301
1302 if (sscanf (params, "%u", &i) != 1) 1302 if (sscanf (params, "%u", &i) != 1)
1303 { 1303 {
1304 if (1)
1305 LOG (llevDebug, "command_pickup: params==NULL\n");
1306 new_draw_info (NDI_UNIQUE, 0, op, "Usage: pickup <value_density> ."); 1304 new_draw_info (NDI_UNIQUE, 0, op, "Usage: pickup <value_density> or [+-]type.");
1307 return 1; 1305 return 1;
1308 } 1306 }
1307
1308 if (i <= PU_RATIO)
1309 i |= op->contr->mode & ~PU_RATIO;
1309 1310
1310 op->contr->mode = i; 1311 op->contr->mode = i;
1311 1312
1312 return 1; 1313 return 1;
1313} 1314}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines