1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +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
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 pos.z < cell.water;