diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/MagmaCube.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Mobs/MagmaCube.cpp b/src/Mobs/MagmaCube.cpp index e84577433..45dbbc519 100644 --- a/src/Mobs/MagmaCube.cpp +++ b/src/Mobs/MagmaCube.cpp @@ -24,24 +24,24 @@ cMagmaCube::cMagmaCube(int a_Size) : -void cMagmaCube::GetDrops(cItems & a_Drops, cEntity * a_Killer) +AString cMagmaCube::GetSizeName(int a_Size) { - UNUSED(a_Killer); - if (GetSize() > 1) + if (a_Size == 1) { - AddRandomUncommonDropItem(a_Drops, 25.0f, E_ITEM_MAGMA_CREAM); + return "small_"; } + return ""; } -AString cMagmaCube::GetSizeName(int a_Size) +void cMagmaCube::GetDrops(cItems & a_Drops, cEntity * a_Killer) { - if (a_Size == 1) + UNUSED(a_Killer); + if (GetSize() > 1) { - return "small_"; + AddRandomUncommonDropItem(a_Drops, 25.0f, E_ITEM_MAGMA_CREAM); } - return ""; } |