1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-04-22 03:51:58 +02:00

fix bite AV

This commit is contained in:
XProger 2018-11-09 04:20:09 +03:00
parent 08a613010f
commit 01943a3e53

View File

@ -307,7 +307,7 @@ struct Enemy : Character {
void bite(int joint, const vec3 &offset, float damage) {
ASSERT(target);
target->hit(damage, this);
game->addEntity(TR::Entity::BLOOD, target->getRoomIndex(), target->getJoint(joint) * offset);
game->addEntity(TR::Entity::BLOOD, target->getRoomIndex(), getJoint(joint) * offset);
}
Mood getMoodFixed() {