diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 14:04:06 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-16 14:04:06 +0200 |
commit | e64c40115ecb5ed843c7aa036f3b03e3c58ca033 (patch) | |
tree | cd9a532f3b34d7674291c23d12590214f0fc4c31 /source/Minecart.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | cuberite-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/Minecart.cpp')
-rw-r--r-- | source/Minecart.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Minecart.cpp b/source/Minecart.cpp index 19ea861a1..07a38692c 100644 --- a/source/Minecart.cpp +++ b/source/Minecart.cpp @@ -39,13 +39,13 @@ bool cMinecart::Initialize(cWorld * a_World) void cMinecart::SpawnOn(cClientHandle & a_ClientHandle) { char Type = 0; - switch (m_Payload) + switch (m_Payload) //Wiki.vg is outdated on this!! { - case mpNone: Type = 10; break; - case mpChest: Type = 11; break; - case mpFurnace: Type = 12; break; - case mpTNT: Type = 13; break; - case mpHopper: Type = 14; break; + case mpNone: Type = 15; break; //? + case mpChest: Type = 10; break; + case mpFurnace: Type = 11; break; //? + case mpTNT: Type = 12; break; //? + case mpHopper: Type = 14; break; //? default: { ASSERT(!"Unknown payload, cannot spawn on client"); |