1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Merge remote branch 'scrawl/crashfix'

This commit is contained in:
Marc Zinnschlag 2012-04-02 23:53:07 +02:00
commit 26371a82a5

View file

@ -746,6 +746,7 @@ void SkyManager::setGlare(const float glare)
Vector3 SkyManager::getRealSunPos() Vector3 SkyManager::getRealSunPos()
{ {
if (!mCreated) return Vector3(0,0,0);
return mSun->getNode()->_getDerivedPosition(); return mSun->getNode()->_getDerivedPosition();
} }