diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-21 14:36:21 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:50 +0200 |
commit | 290e9219208fd904807bded7ccdb7109a4f92bc6 (patch) | |
tree | 1bad6c56620e007c4177284e42386e4b0cea8b8f /src/environment.h | |
parent | 94feb62b087d61d0c211645970a36e6752d1c732 (diff) | |
download | minetest-290e9219208fd904807bded7ccdb7109a4f92bc6.tar.gz minetest-290e9219208fd904807bded7ccdb7109a4f92bc6.tar.bz2 minetest-290e9219208fd904807bded7ccdb7109a4f92bc6.zip |
Relatively snappy object-ground collision detection
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 11 |
1 files changed, 5 insertions, 6 deletions
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); |