mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Make sure fog of war texture is loaded before accessing its buffer
This commit is contained in:
parent
0c1c468f70
commit
89af49f669
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,8 @@ void LocalMap::updatePlayer (const Ogre::Vector3& position, const Ogre::Quaterni
|
|||
}
|
||||
}
|
||||
|
||||
tex->load();
|
||||
|
||||
// copy to the texture
|
||||
// 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.
|
||||
|
|
Loading…
Reference in a new issue