mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 16:39:43 +00:00
fix clang format
This commit is contained in:
parent
f28b3f6601
commit
bf7819f71d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue