mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 15:40:42 +00:00
Suppress warnings.
This commit is contained in:
parent
895739d6bb
commit
f5ba74cd10
@ -399,7 +399,7 @@ void CSVRender::Cell::pathgridPointRemoved(const std::string &name)
|
|||||||
int index = result.second;
|
int index = result.second;
|
||||||
|
|
||||||
// check if the point exists
|
// check if the point exists
|
||||||
if(index < 0 || mPathgridId != pathgridId || index >= mPoints.size())
|
if(index < 0 || mPathgridId != pathgridId || (unsigned int)index >= mPoints.size())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int numToDelete = mPoints[index].mConnectionNum * 2; // for sanity check later
|
int numToDelete = mPoints[index].mConnectionNum * 2; // for sanity check later
|
||||||
@ -484,7 +484,7 @@ void CSVRender::Cell::pathgridPointMoved(const std::string &name, const Ogre::Ve
|
|||||||
int index = result.second;
|
int index = result.second;
|
||||||
|
|
||||||
// check if the point exists
|
// check if the point exists
|
||||||
if(index < 0 || mPathgridId != pathgridId || index >= mPoints.size())
|
if(index < 0 || mPathgridId != pathgridId || (unsigned int)index >= mPoints.size())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float worldsize = ESM::Land::REAL_SIZE;
|
float worldsize = ESM::Land::REAL_SIZE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user