1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:45:32 +00:00

Warning fix

This commit is contained in:
scrawl 2014-05-24 14:47:51 +02:00
parent 08cf58204f
commit 1d8da95756

View file

@ -353,7 +353,7 @@ void LocalMap::loadFogOfWar (const std::string& texturePrefix, ESM::FogTexture&
Ogre::Image image;
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");
std::string texName = texturePrefix + "_fog";