summaryrefslogtreecommitdiffstats
path: root/src/LineBlockTracer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-23 18:29:01 +0100
committerMattes D <github@xoft.cz>2015-01-23 18:29:01 +0100
commitb0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f (patch)
treed42cfa840466f20f2ea0ae1e08abec71c878b5c1 /src/LineBlockTracer.cpp
parentProtoProxy: Added socket startup error reporting. (diff)
parentFixed defect #43662 in Coverity list. (diff)
downloadcuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar.gz
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar.bz2
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar.lz
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar.xz
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.tar.zst
cuberite-b0b0fdfd3aa17e645fd1a378e9bf98df3fe9bb2f.zip
Diffstat (limited to 'src/LineBlockTracer.cpp')
-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)
{
}