From 290e9219208fd904807bded7ccdb7109a4f92bc6 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 21 Nov 2011 14:36:21 +0200 Subject: Relatively snappy object-ground collision detection --- src/environment.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/environment.h') diff --git a/src/environment.h b/src/environment.h index a8213ea6d..1abf73867 100644 --- a/src/environment.h +++ b/src/environment.h @@ -362,14 +362,13 @@ public: ~ClientEnvironment(); Map & getMap() - { - return *m_map; - } + { return *m_map; } ClientMap & getClientMap() - { - return *m_map; - } + { return *m_map; } + + IGameDef *getGameDef() + { return m_gamedef; } void step(f32 dtime); -- cgit v1.2.3