summaryrefslogtreecommitdiffstats
path: root/source/Items
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 14:04:06 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 14:04:06 +0200
commite64c40115ecb5ed843c7aa036f3b03e3c58ca033 (patch)
treecd9a532f3b34d7674291c23d12590214f0fc4c31 /source/Items
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadcuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar.gz
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar.bz2
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar.lz
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar.xz
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.tar.zst
cuberite-e64c40115ecb5ed843c7aa036f3b03e3c58ca033.zip
Diffstat (limited to 'source/Items')
-rw-r--r--source/Items/ItemMinecart.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/Items/ItemMinecart.h b/source/Items/ItemMinecart.h
index 8be3baada..df970638e 100644
--- a/source/Items/ItemMinecart.h
+++ b/source/Items/ItemMinecart.h
@@ -61,9 +61,11 @@ public:
cMinecart * Minecart = NULL;
switch (m_ItemType)
{
- case E_ITEM_MINECART: Minecart = new cEmptyMinecart (x, y, z); break;
- case E_ITEM_CHEST_MINECART: Minecart = new cMinecartWithChest (x, y, z); break;
- case E_ITEM_FURNACE_MINECART: Minecart = new cMinecartWithFurnace(x, y, z); break;
+ case E_ITEM_MINECART: Minecart = new cEmptyMinecart (x, y, z); break;
+ case E_ITEM_CHEST_MINECART: Minecart = new cMinecartWithChest (x, y, z); break;
+ case E_ITEM_FURNACE_MINECART: Minecart = new cMinecartWithFurnace (x, y, z); break;
+ case E_ITEM_MINECART_WITH_TNT: Minecart = new cMinecartWithTNT (x, y, z); break;
+ case E_ITEM_MINECART_WITH_HOPPER: Minecart = new cMinecartWithHopper (x, y, z); break;
default:
{
ASSERT(!"Unhandled minecart item");