1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Respect base virtual functions' signatures

This commit is contained in:
Giuseppe Bilotta 2011-08-08 16:15:53 +02:00
parent 163c38e175
commit 34492ce480
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ public:
return m_position;
}
virtual void setPosition(v3f position)
virtual void setPosition(const v3f &position)
{
m_position = position;
}
@ -206,7 +206,7 @@ public:
return m_box;
}
void setPosition(v3f position)
void setPosition(const v3f &position)
{
m_oldpos = m_showpos;