Merge pull request #2252 from pacomont/Allow_to_change_wind's_direction

It's almost imposible to change direction of wind. Reseting mCurrentT…
This commit is contained in:
Areloch 2018-07-12 15:42:51 -05:00 committed by GitHub
commit 6e60bf5fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,6 +179,7 @@ void ForestWind::setStrengthAndDirection( F32 strength, const VectorF &direction
{
mStrength = strength;
mDirection = direction;
mCurrentTarget.zero();
mIsDirty = true;
}
}