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:
parent
0c5f886683
commit
1db7978361
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user