Fix build by adding missing argument to onHit

This commit is contained in:
David Cernat 2016-09-15 09:34:05 +03:00
parent 3b7693c719
commit 5b6caa7b2c

View file

@ -325,7 +325,7 @@ void Networking::ReceiveMessage(RakNet::Packet *packet)
if (!weapon.isEmpty())
MWMechanics::blockMeleeAttack(attacker, victim, weapon, pl->GetAttack()->damage, 1);
pl->getPtr().getClass().onHit(victim, pl->GetAttack()->damage, healthdmg, weapon, attacker,
pl->getPtr().getClass().onHit(victim, pl->GetAttack()->damage, healthdmg, weapon, attacker, osg::Vec3f(),
pl->GetAttack()->success);
}
}