projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LocalPlayer::accelerateHorizontal: cleanups
[oweals/minetest.git]
/
src
/
content_cao.cpp
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index 9930873535e8447608771e1cee64d3f461929507..771820cb09c1003cc5c1a61dab10d15b4f4b47bf 100644
(file)
--- a/
src/content_cao.cpp
+++ b/
src/content_cao.cpp
@@
-946,7
+946,7
@@
void GenericCAO::updateLightNoCheck(u8 light_at_pos)
v3s16 GenericCAO::getLightPosition()
{
- return floatToInt(m_position, BS);
+ return floatToInt(m_position
+ v3f(0, 0.5 * BS, 0)
, BS);
}
void GenericCAO::updateNodePos()