From 49af1880f87ee2d6ba4bbf7c3b063bf7e51a12ff Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Thu, 18 Aug 2011 21:12:15 +0000 Subject: [PATCH] Fix tests This was SVN commit r10035. --- source/simulation2/system/ComponentTest.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/simulation2/system/ComponentTest.h b/source/simulation2/system/ComponentTest.h index 12282a9b7e..4accacd681 100644 --- a/source/simulation2/system/ComponentTest.h +++ b/source/simulation2/system/ComponentTest.h @@ -162,6 +162,11 @@ class MockTerrain : public ICmpTerrain public: DEFAULT_MOCK_COMPONENT() + virtual bool IsLoaded() + { + return true; + } + virtual CFixedVector3D CalcNormal(entity_pos_t UNUSED(x), entity_pos_t UNUSED(z)) { return CFixedVector3D(fixed::FromInt(0), fixed::FromInt(1), fixed::FromInt(0));