mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 01:06:19 +00:00
Changed: Reverted a previous fix (sorry)
This commit is contained in:
parent
972a8d79a5
commit
d6d7f75c68
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ CGroundFXManager::CGroundFXManager() :
|
||||||
_MinSpeed(1.5f),
|
_MinSpeed(1.5f),
|
||||||
_MaxSpeed(6.f),
|
_MaxSpeed(6.f),
|
||||||
_SpeedWaterWalkFast(3.f),
|
_SpeedWaterWalkFast(3.f),
|
||||||
_SpeedWaterSwimFast(3.f),
|
_SpeedWaterSwimFast(2.f),
|
||||||
_MaxDist(50.f),
|
_MaxDist(50.f),
|
||||||
_MaxNumFX(10),
|
_MaxNumFX(10),
|
||||||
_NumFX(0),
|
_NumFX(0),
|
||||||
|
@ -495,7 +495,7 @@ void CGroundFXManager::update(const NLMISC::CVectorD &camPos)
|
||||||
break;
|
break;
|
||||||
case CInstance::Swim:
|
case CInstance::Swim:
|
||||||
if (speed == 0.f) fxName = "StepSwimIdle.ps";
|
if (speed == 0.f) fxName = "StepSwimIdle.ps";
|
||||||
else if (speed > _SpeedWaterWalkFast)
|
else if (speed > _SpeedWaterSwimFast)
|
||||||
{
|
{
|
||||||
fxName = "StepSwimSpeed.ps";
|
fxName = "StepSwimSpeed.ps";
|
||||||
fxNameUnderWater = "StepSwimSpeedUnderWater.ps";
|
fxNameUnderWater = "StepSwimSpeedUnderWater.ps";
|
||||||
|
|
Loading…
Reference in a new issue