summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Witch.cpp
diff options
context:
space:
mode:
authorTheJumper <maximilian.springer@web.de>2014-02-22 22:57:40 +0100
committerTheJumper <maximilian.springer@web.de>2014-02-22 22:57:40 +0100
commit90574d083da08ccd6699bdad403601e282d73b89 (patch)
treec067f5041bab30081d31ae9b7b9858c00709ba9b /src/Mobs/Witch.cpp
parentFixed Looting segment fault - a_Killer can be NULL (diff)
downloadcuberite-90574d083da08ccd6699bdad403601e282d73b89.tar
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.gz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.bz2
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.lz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.xz
cuberite-90574d083da08ccd6699bdad403601e282d73b89.tar.zst
cuberite-90574d083da08ccd6699bdad403601e282d73b89.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Witch.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Mobs/Witch.cpp b/src/Mobs/Witch.cpp
index f9025afe3..a278a1964 100644
--- a/src/Mobs/Witch.cpp
+++ b/src/Mobs/Witch.cpp
@@ -30,13 +30,13 @@ void cWitch::GetDrops(cItems & a_Drops, cEntity * a_Killer)
int DropType = r1.randInt() % 7;
switch (DropType)
{
- case 0: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GLASS_BOTTLE);
- case 1: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GLOWSTONE_DUST);
- case 2: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GUNPOWDER);
- case 3: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_REDSTONE_DUST);
- case 4: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SPIDER_EYE);
- case 5: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_STICK);
- case 6: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SUGAR);
+ case 0: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GLASS_BOTTLE); break;
+ case 1: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GLOWSTONE_DUST); break;
+ case 2: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_GUNPOWDER); break;
+ case 3: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_REDSTONE_DUST); break;
+ case 4: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SPIDER_EYE); break;
+ case 5: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_STICK); break;
+ case 6: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SUGAR); break;
}
}
cItems RareDrops;