mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-30 13:41:31 +00:00
Warning fix
This commit is contained in:
parent
08cf58204f
commit
1d8da95756
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ void LocalMap::loadFogOfWar (const std::string& texturePrefix, ESM::FogTexture&
|
||||||
Ogre::Image image;
|
Ogre::Image image;
|
||||||
image.load(stream, "tga");
|
image.load(stream, "tga");
|
||||||
|
|
||||||
if (image.getWidth() != sFogOfWarResolution || image.getHeight() != sFogOfWarResolution)
|
if (int(image.getWidth()) != sFogOfWarResolution || int(image.getHeight()) != sFogOfWarResolution)
|
||||||
throw std::runtime_error("fog texture size mismatch");
|
throw std::runtime_error("fog texture size mismatch");
|
||||||
|
|
||||||
std::string texName = texturePrefix + "_fog";
|
std::string texName = texturePrefix + "_fog";
|
||||||
|
|
Loading…
Reference in a new issue