mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 08:37:12 +00:00
fix clang format
This commit is contained in:
parent
f28b3f6601
commit
bf7819f71d
@ -47,7 +47,8 @@ namespace MWWorld
|
|||||||
osg::Vec3f calculateStormDirection(const std::string& particleEffect)
|
osg::Vec3f calculateStormDirection(const std::string& particleEffect)
|
||||||
{
|
{
|
||||||
osg::Vec3f stormDirection = MWWorld::Weather::defaultDirection();
|
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();
|
osg::Vec3f playerPos = MWMechanics::getPlayer().getRefData().getPosition().asVec3();
|
||||||
playerPos.z() = 0;
|
playerPos.z() = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user