CalcMeleeDamage: CalcMeleeDamage should not handle bows
Code:
PHP Code:
weapon_subtype = weapon_proto->bSubType;
v14 = 1 << weapon_subtype;
if ( !((1 << weapon_subtype) & 0xBB) )
{
if ( v14 & 4 )
{
charname = CHARACTER__GetName(pAttacker);
sys_err("CalcMeleeDamage", 381, "CalcMeleeDamage should not handle bows (name: %s)", charname);
result = 0;
goto return;
}
goto res0;
}
Type 1 Subtype 2
Ist jetzt der Subtype vom Bogen falsch oder was isses?