mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Clean mapnode.h and fix other files accordingly
This commit is contained in:
parent
6da8cb00e2
commit
ba762bcd49
15 changed files with 101 additions and 104 deletions
|
@ -108,6 +108,11 @@ void Player::accelerate(v3f target_speed, f32 max_increase)
|
|||
#endif
|
||||
}
|
||||
|
||||
v3s16 Player::getLightPosition() const
|
||||
{
|
||||
return floatToInt(m_position + v3f(0,BS+BS/2,0), BS);
|
||||
}
|
||||
|
||||
void Player::serialize(std::ostream &os)
|
||||
{
|
||||
// Utilize a Settings object for storing values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue