mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 19:53:53 +00:00
Remove dead code
This commit is contained in:
parent
c50769c8c5
commit
34ba2068b7
1 changed files with 2 additions and 8 deletions
|
@ -162,15 +162,9 @@ namespace DetourNavigator
|
||||||
const osg::Vec3f bmin(shift.x() - halfBoundsSize, minZ, shift.y() - halfBoundsSize);
|
const osg::Vec3f bmin(shift.x() - halfBoundsSize, minZ, shift.y() - halfBoundsSize);
|
||||||
const osg::Vec3f bmax(shift.x() + halfBoundsSize, maxZ, shift.y() + halfBoundsSize);
|
const osg::Vec3f bmax(shift.x() + halfBoundsSize, maxZ, shift.y() + halfBoundsSize);
|
||||||
|
|
||||||
if (width < 0)
|
if (size < 0)
|
||||||
{
|
{
|
||||||
Log(Debug::Warning) << context.getPrefix() << "Invalid width to init heightfield: " << width;
|
Log(Debug::Warning) << context.getPrefix() << "Invalid size to init heightfield: " << size;
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (height < 0)
|
|
||||||
{
|
|
||||||
Log(Debug::Warning) << context.getPrefix() << "Invalid height to init heightfield: " << height;
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue