mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Build fix
This commit is contained in:
parent
4c09ecef72
commit
0afc03b6b7
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ namespace ESMTerrain
|
||||||
|
|
||||||
osg::Vec2f origin = center - osg::Vec2f(size/2.f, size/2.f);
|
osg::Vec2f origin = center - osg::Vec2f(size/2.f, size/2.f);
|
||||||
|
|
||||||
assert(origin.x == (int) origin.x());
|
assert(origin.x() == (int) origin.x());
|
||||||
assert(origin.y == (int) origin.y());
|
assert(origin.y() == (int) origin.y());
|
||||||
|
|
||||||
int cellX = static_cast<int>(origin.x());
|
int cellX = static_cast<int>(origin.x());
|
||||||
int cellY = static_cast<int>(origin.y());
|
int cellY = static_cast<int>(origin.y());
|
||||||
|
|
Loading…
Reference in a new issue