1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 12:23:51 +00:00

Code cleanup

This commit is contained in:
Glorf 2013-05-01 12:25:02 +02:00
parent 236ec3409f
commit b8630239d7

View file

@ -176,7 +176,6 @@ void CharacterController::update(float duration, Movement &movement)
health.setCurrent (current-static_cast<int>(realHealthLost)); health.setCurrent (current-static_cast<int>(realHealthLost));
cls.getCreatureStats(mPtr).setHealth (health); cls.getCreatureStats(mPtr).setHealth (health);
MWWorld::Class::get(mPtr).skillUsageSucceeded(mPtr, ESM::Skill::Acrobatics, 1); MWWorld::Class::get(mPtr).skillUsageSucceeded(mPtr, ESM::Skill::Acrobatics, 1);
std::cout<<realHealthLost<<std::endl;
const float acrobaticsSkill = cls.getNpcStats (mPtr).getSkill (ESM::Skill::Acrobatics).getModified(); const float acrobaticsSkill = cls.getNpcStats (mPtr).getSkill (ESM::Skill::Acrobatics).getModified();
if(acrobaticsSkill*1.25f/*fatigueTerm*/<healthLost) if(acrobaticsSkill*1.25f/*fatigueTerm*/<healthLost)