From 0afc03b6b74e4df7b348260ae13bcd9d292db06e Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 5 Jun 2015 16:56:38 +0200 Subject: [PATCH] Build fix --- components/esmterrain/storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esmterrain/storage.cpp b/components/esmterrain/storage.cpp index 0795a3ffc..1811f58e6 100644 --- a/components/esmterrain/storage.cpp +++ b/components/esmterrain/storage.cpp @@ -28,8 +28,8 @@ namespace ESMTerrain osg::Vec2f origin = center - osg::Vec2f(size/2.f, size/2.f); - assert(origin.x == (int) origin.x()); - assert(origin.y == (int) origin.y()); + assert(origin.x() == (int) origin.x()); + assert(origin.y() == (int) origin.y()); int cellX = static_cast(origin.x()); int cellY = static_cast(origin.y());