aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 21:00:39 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:44 +0200
commitba762bcd49c9f3ffa3cc4ecac73b13365c2047ec (patch)
tree434f3a74df5dd382434df5b655fee7843e45e004 /src/player.h
parent6da8cb00e27106221e013aa6d93965b95e630a18 (diff)
downloadminetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.tar.gz
minetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.tar.bz2
minetest-ba762bcd49c9f3ffa3cc4ecac73b13365c2047ec.zip
Clean mapnode.h and fix other files accordingly
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/player.h b/src/player.h
index ecde59ce1..56bb5083c 100644
--- a/src/player.h
+++ b/src/player.h
@@ -62,10 +62,7 @@ public:
return m_position;
}
- v3s16 getLightPosition() const
- {
- return floatToInt(m_position + v3f(0,BS+BS/2,0), BS);
- }
+ v3s16 getLightPosition() const;
v3f getEyeOffset()
{