aboutsummaryrefslogtreecommitdiff
path: root/src/clientobject.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-11 11:36:13 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-11 11:36:13 +0300
commit9d4e9c59de533ae28badb22da87cb553783dd133 (patch)
tree1497631e01225065e680c897ffeb7cf228690af2 /src/clientobject.cpp
parent3f153c20d3936d18398149082fc453aa55859b1e (diff)
downloadminetest-9d4e9c59de533ae28badb22da87cb553783dd133.tar.gz
minetest-9d4e9c59de533ae28badb22da87cb553783dd133.tar.bz2
minetest-9d4e9c59de533ae28badb22da87cb553783dd133.zip
fixed warnings reported by cppcheck
Diffstat (limited to 'src/clientobject.cpp')
-rw-r--r--src/clientobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clientobject.cpp b/src/clientobject.cpp
index 1d9dd215b..5b744de6c 100644
--- a/src/clientobject.cpp
+++ b/src/clientobject.cpp
@@ -404,7 +404,8 @@ RatCAO::RatCAO():
ClientActiveObject(0),
m_selection_box(-BS/3.,0.0,-BS/3., BS/3.,BS/2.,BS/3.),
m_node(NULL),
- m_position(v3f(0,10*BS,0))
+ m_position(v3f(0,10*BS,0)),
+ m_yaw(0)
{
ClientActiveObject::registerType(getType(), create);
}