… | |
… | |
1529 | skill = owner->current_weapon->skill; |
1529 | skill = owner->current_weapon->skill; |
1530 | else |
1530 | else |
1531 | LOG (llevError, "kill_object - unable to find skill that killed monster\n"); |
1531 | LOG (llevError, "kill_object - unable to find skill that killed monster\n"); |
1532 | |
1532 | |
1533 | /* We have the skill we want to credit to - now find the object this goes |
1533 | /* We have the skill we want to credit to - now find the object this goes |
1534 | * to. Make sure skop is an actual skill, and not a skill tool! |
1534 | * to. Make sure skop is an actual skill, and not a skill tool! |
1535 | */ |
1535 | */ |
1536 | if ((!skop || skop->type != SKILL) && skill) |
1536 | if ((!skop || skop->type != SKILL) && skill) |
1537 | { |
1537 | { |
1538 | int i; |
1538 | int i; |
1539 | |
1539 | |