1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

fixed warnings reported by cppcheck

This commit is contained in:
Perttu Ahola 2011-04-11 11:36:13 +03:00
parent 3f153c20d3
commit 9d4e9c59de
10 changed files with 19 additions and 9 deletions

View file

@ -563,7 +563,8 @@ public:
(-BS*0.3,-BS*.25,-BS*0.3, BS*0.3,BS*0.25,BS*0.3);
m_selection_box = new core::aabbox3d<f32>
(-BS*0.3,-BS*.25,-BS*0.3, BS*0.3,BS*0.25,BS*0.3);
m_yaw = 0;
m_counter1 = 0;
m_counter2 = 0;
m_age = 0;
@ -906,7 +907,8 @@ class PlayerObject : public MovingObject
public:
PlayerObject(MapBlock *block, s16 id, v3f pos):
MovingObject(block, id, pos),
m_node(NULL)
m_node(NULL),
m_yaw(0)
{
m_collision_box = new core::aabbox3d<f32>
(-BS*0.3,-BS*.25,-BS*0.3, BS*0.3,BS*0.25,BS*0.3);