1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00

silenced a warning

This commit is contained in:
Marc Zinnschlag 2012-08-04 22:03:14 +02:00
parent 0c5f886683
commit 1db7978361

View File

@ -1112,7 +1112,7 @@ namespace MWWorld
bool bool
World::isUnderwater(const ESM::Cell &cell, const Ogre::Vector3 &pos) World::isUnderwater(const ESM::Cell &cell, const Ogre::Vector3 &pos)
{ {
if (cell.data.flags & ESM::Cell::HasWater == 0) { if (!(cell.data.flags & ESM::Cell::HasWater)) {
return false; return false;
} }
return pos.z < cell.water; return pos.z < cell.water;