mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
Make sure fog of war texture is loaded before accessing its buffer
This commit is contained in:
parent
0c1c468f70
commit
89af49f669
@ -581,6 +581,8 @@ void LocalMap::updatePlayer (const Ogre::Vector3& position, const Ogre::Quaterni
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tex->load();
|
||||||
|
|
||||||
// copy to the texture
|
// copy to the texture
|
||||||
// NOTE: Could be optimized later. We actually only need to update the region that changed.
|
// NOTE: Could be optimized later. We actually only need to update the region that changed.
|
||||||
// Not a big deal at the moment, the FoW is only 32x32 anyway.
|
// Not a big deal at the moment, the FoW is only 32x32 anyway.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user