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

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.124 by root, Tue Sep 30 07:51:17 2008 UTC vs.
Revision 1.126 by root, Thu Jan 1 11:41:17 2009 UTC

339 */ 339 */
340 if (loading_arch && (type == WEAPON || type == BOW || type == ROD || type == HORN || type == WAND)) 340 if (loading_arch && (type == WEAPON || type == BOW || type == ROD || type == HORN || type == WAND))
341 { 341 {
342 if (!skill) 342 if (!skill)
343 LOG (llevError, "ITEMBUG: weapon %s lacks a skill.\n", debug_desc ()); 343 LOG (llevError, "ITEMBUG: weapon %s lacks a skill.\n", debug_desc ());
344 else if ((!strcmp (skill, "one handed weapons") && slot[body_arm].info != -1) || 344 else if ((skill == shstr_one_handed_weapons && slot[body_arm].info != -1) ||
345 (!strcmp (skill, "two handed weapons") && slot[body_arm].info != -2)) 345 (skill == shstr_two_handed_weapons && slot[body_arm].info != -2))
346 LOG (llevError, "ITEMBUG: weapon %s arm usage does not match skill: %d, %s\n", debug_desc (), slot[body_arm].info, &skill); 346 LOG (llevError, "ITEMBUG: weapon %s arm usage does not match skill: %d, %s\n", debug_desc (), slot[body_arm].info, &skill);
347 } 347 }
348 348
349 /* We changed last_heal to gen_sp_armour, which is what it 349 /* We changed last_heal to gen_sp_armour, which is what it
350 * really does for many objects. Need to catch any in maps 350 * really does for many objects. Need to catch any in maps
930 case KW_attack_movement: f.get (attack_movement); break; 930 case KW_attack_movement: f.get (attack_movement); break;
931 case KW_move_state: f.get (move_status); break; 931 case KW_move_state: f.get (move_status); break;
932 case KW_expmul: f.get (expmul); break; 932 case KW_expmul: f.get (expmul); break;
933 case KW_glow_radius: f.get (glow_radius); break; 933 case KW_glow_radius: f.get (glow_radius); break;
934 case KW_weapontype: f.get (weapontype); break; 934 case KW_weapontype: f.get (weapontype); break;
935 case KW_tooltype: f.get (tooltype); break;
936 case KW_casting_time: f.get (casting_time); break; 935 case KW_casting_time: f.get (casting_time); break;
937 936
938 // elevation is deprecated 937 // elevation is deprecated
939 case KW_elevation: break; 938 case KW_elevation: break;
940 939
1390 CMP_OUT (run_away); 1389 CMP_OUT (run_away);
1391 CMP_OUT (pick_up); 1390 CMP_OUT (pick_up);
1392 CMP_OUT (will_apply); 1391 CMP_OUT (will_apply);
1393 CMP_OUT (smoothlevel); 1392 CMP_OUT (smoothlevel);
1394 CMP_OUT (weapontype); 1393 CMP_OUT (weapontype);
1395 CMP_OUT (tooltype);
1396 CMP_OUT (client_type); 1394 CMP_OUT (client_type);
1397 CMP_OUT (item_power); 1395 CMP_OUT (item_power);
1398 CMP_OUT (duration); 1396 CMP_OUT (duration);
1399 CMP_OUT (range); 1397 CMP_OUT (range);
1400 CMP_OUT (range_modifier); 1398 CMP_OUT (range_modifier);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines