mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
Correct follow animation attack strength dependence
This commit is contained in:
parent
6756f4397e
commit
1ce162a95c
@ -1640,7 +1640,7 @@ bool CharacterController::updateWeaponState()
|
||||
|
||||
if (mAttackType != "shoot")
|
||||
{
|
||||
std::string strength = mAttackStrength < 0.5f ? "small" : mAttackStrength < 1.f ? "medium" : "large";
|
||||
std::string strength = mAttackStrength < 0.33f ? "small" : mAttackStrength < 0.66f ? "medium" : "large";
|
||||
start = strength + ' ' + start;
|
||||
stop = strength + ' ' + stop;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user