summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-28 21:35:45 +0100
committermadmaxoft <github@xoft.cz>2014-03-28 21:35:45 +0100
commit773ce7fde692e86531e1e92f42776e316b793d83 (patch)
tree33a45b7333f583292ed87983dba9563b2cad6f84 /src/Blocks
parentFixed compilation after last PR merge. (diff)
downloadcuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.gz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.bz2
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.lz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.xz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.zst
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.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;