diff options
author | archshift <admin@archshift.com> | 2014-04-23 23:56:39 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-24 00:22:49 +0200 |
commit | c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b (patch) | |
tree | 94ce183469b261a995faaf64dfa7623571fb146a /src/Mobs/Magmacube.cpp | |
parent | Updated docs for StringToEnchantmentID. (diff) | |
download | cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar.gz cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar.bz2 cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar.lz cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar.xz cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.tar.zst cuberite-c2f2ef7cb4e4232cae18aaddcc6c86253e6c859b.zip |
Diffstat (limited to 'src/Mobs/Magmacube.cpp')
-rw-r--r-- | src/Mobs/Magmacube.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/Mobs/Magmacube.cpp b/src/Mobs/Magmacube.cpp deleted file mode 100644 index 05405f082..000000000 --- a/src/Mobs/Magmacube.cpp +++ /dev/null @@ -1,31 +0,0 @@ - -#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules - -#include "Magmacube.h" - - - - - -cMagmaCube::cMagmaCube(int a_Size) : - super("MagmaCube", mtMagmaCube, "mob.MagmaCube.big", "mob.MagmaCube.big", 0.6 * a_Size, 0.6 * a_Size), - m_Size(a_Size) -{ -} - - - - - -void cMagmaCube::GetDrops(cItems & a_Drops, cEntity * a_Killer) -{ - UNUSED(a_Killer); - if (GetSize() > 1) - { - AddRandomUncommonDropItem(a_Drops, 25.0f, E_ITEM_MAGMA_CREAM); - } -} - - - - |