1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 20:09:42 +00:00

fix clang format

This commit is contained in:
Sam Hellawell 2024-02-18 22:06:09 +00:00
parent f28b3f6601
commit bf7819f71d

View file

@ -47,7 +47,8 @@ namespace MWWorld
osg::Vec3f calculateStormDirection(const std::string& particleEffect)
{
osg::Vec3f stormDirection = MWWorld::Weather::defaultDirection();
if (particleEffect == Settings::models().mWeatherashcloud.get() || particleEffect == Settings::models().mWeatherblightcloud.get())
if (particleEffect == Settings::models().mWeatherashcloud.get()
|| particleEffect == Settings::models().mWeatherblightcloud.get())
{
osg::Vec3f playerPos = MWMechanics::getPlayer().getRefData().getPosition().asVec3();
playerPos.z() = 0;