diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-18 01:36:51 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-18 01:36:51 +0200 |
commit | 7014979bffdc08187c8b91c8aefcb0a862a85187 (patch) | |
tree | fd22d73a2485bda09caac3d948f752bca7e380c3 /source/TNTEntity.h | |
parent | Bugfix Update [SEE DESC} (diff) | |
parent | Fixed LuaWindow destructor causing a crash. (diff) | |
download | cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar.gz cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar.bz2 cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar.lz cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar.xz cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.tar.zst cuberite-7014979bffdc08187c8b91c8aefcb0a862a85187.zip |
Diffstat (limited to 'source/TNTEntity.h')
-rw-r--r-- | source/TNTEntity.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/TNTEntity.h b/source/TNTEntity.h index a8487b66f..e3eae24f2 100644 --- a/source/TNTEntity.h +++ b/source/TNTEntity.h @@ -16,8 +16,8 @@ class cTNTEntity : public: CLASS_PROTODEF(cTNTEntity); - cTNTEntity(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec); - cTNTEntity(const Vector3d & a_Pos, float a_FuseTimeInSec); + cTNTEntity(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec); + cTNTEntity(const Vector3d & a_Pos, double a_FuseTimeInSec); // cEntity overrides: virtual bool Initialize(cWorld * a_World) override; @@ -25,8 +25,8 @@ public: virtual void Tick(float a_Dt, cChunk & a_Chunk) override; protected: - float m_Counter; ///< How much time has elapsed since the object was created, in seconds - float m_MaxFuseTime; ///< How long the fuse is, in seconds + double m_Counter; ///< How much time has elapsed since the object was created, in seconds + double m_MaxFuseTime; ///< How long the fuse is, in seconds }; |