summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-28 21:37:31 +0100
committermadmaxoft <github@xoft.cz>2014-03-28 21:37:31 +0100
commit18dad361893e570322531c1ccbd6968082448e19 (patch)
tree43229e1050ebbf0cdf0cfe370808cb29bc515d65 /src/Blocks
parentImplemented the msSpongePrint merge strategy. (diff)
parentFixed non-virtual destructors warnings. (diff)
downloadcuberite-18dad361893e570322531c1ccbd6968082448e19.tar
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.gz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.bz2
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.lz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.xz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.zst
cuberite-18dad361893e570322531c1ccbd6968082448e19.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BroadcastInterface.h3
-rw-r--r--src/Blocks/WorldInterface.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Blocks/BroadcastInterface.h b/src/Blocks/BroadcastInterface.h
index 01966ffbd..b1b450690 100644
--- a/src/Blocks/BroadcastInterface.h
+++ b/src/Blocks/BroadcastInterface.h
@@ -4,7 +4,8 @@
class cBroadcastInterface
{
public:
-
+ virtual ~cBroadcastInterface() {}
+
virtual void BroadcastUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ ) = 0;
virtual void BroadcastSoundEffect(const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch, const cClientHandle * a_Exclude = NULL) = 0;
virtual void BroadcastEntityAnimation(const cEntity & a_Entity, char a_Animation, const cClientHandle * a_Exclude = NULL) = 0;
diff --git a/src/Blocks/WorldInterface.h b/src/Blocks/WorldInterface.h
index 580339d32..bfbb053d9 100644
--- a/src/Blocks/WorldInterface.h
+++ b/src/Blocks/WorldInterface.h
@@ -9,7 +9,8 @@ class cItems;
class cWorldInterface
{
public:
-
+ virtual ~cWorldInterface() {}
+
virtual Int64 GetTimeOfDay(void) const = 0;
virtual Int64 GetWorldAge(void) const = 0;