summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Kirilenko <kirill@ultracoder.org>2015-01-23 17:56:17 +0100
committerKirill Kirilenko <kirill@ultracoder.org>2015-01-23 17:56:17 +0100
commit5d257178a08e867817dbe446e4f84aab674598a6 (patch)
treed42cfa840466f20f2ea0ae1e08abec71c878b5c1
parentFixed defect #43665 in Coverity list. (diff)
downloadcuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar.gz
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar.bz2
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar.lz
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar.xz
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.tar.zst
cuberite-5d257178a08e867817dbe446e4f84aab674598a6.zip
Diffstat (limited to '')
-rw-r--r--src/LineBlockTracer.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/LineBlockTracer.cpp b/src/LineBlockTracer.cpp
index 90f97cd23..e43a79566 100644
--- a/src/LineBlockTracer.cpp
+++ b/src/LineBlockTracer.cpp
@@ -15,7 +15,23 @@
cLineBlockTracer::cLineBlockTracer(cWorld & a_World, cCallbacks & a_Callbacks) :
- super(a_World, a_Callbacks)
+ super(a_World, a_Callbacks),
+ m_StartX(0.0),
+ m_StartY(0.0),
+ m_StartZ(0.0),
+ m_EndX(0.0),
+ m_EndY(0.0),
+ m_EndZ(0.0),
+ m_DiffX(0.0),
+ m_DiffY(0.0),
+ m_DiffZ(0.0),
+ m_DirX(0),
+ m_DirY(0),
+ m_DirZ(0),
+ m_CurrentX(0),
+ m_CurrentY(0),
+ m_CurrentZ(0),
+ m_CurrentFace(0)
{
}