From 86a991c5a85a9771143320de91d87f6e986300a9 Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Mon, 16 Jul 2012 19:20:37 +0000 Subject: Some code improvements git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/BlockIce.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blocks/BlockIce.h') diff --git a/source/blocks/BlockIce.h b/source/blocks/BlockIce.h index 9b356e323..d6bb63b0a 100644 --- a/source/blocks/BlockIce.h +++ b/source/blocks/BlockIce.h @@ -11,12 +11,12 @@ public: { } - virtual int GetDropID() + virtual int GetDropID() override { return E_ITEM_EMPTY; } - virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z) + virtual void OnDestroyed(cWorld *a_World, int a_X, int a_Y, int a_Z) override { a_World->FastSetBlock(a_X, a_Y, a_Z, E_BLOCK_STATIONARY_WATER, 8); //This is called later than the real destroying of this ice block -- cgit v1.2.3