diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-07 18:07:14 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-02-19 06:05:22 +0100 |
commit | 83459d0d899786378e8304c92a5b79ddca92c62f (patch) | |
tree | 637e5302c5c5affc5f3c52d4c195cba5607aac30 /src/Entities/Minecart.cpp | |
parent | Merge pull request #3020 from cuberite/ice_block (diff) | |
download | cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar.gz cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar.bz2 cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar.lz cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar.xz cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.tar.zst cuberite-83459d0d899786378e8304c92a5b79ddca92c62f.zip |
Diffstat (limited to 'src/Entities/Minecart.cpp')
-rw-r--r-- | src/Entities/Minecart.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 3adf5477e..ea51c49c8 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -116,10 +116,7 @@ void cMinecart::SpawnOn(cClientHandle & a_ClientHandle) void cMinecart::HandlePhysics(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { - if (IsDestroyed()) // Mainly to stop detector rails triggering again after minecart is dead - { - return; - } + ASSERT(IsTicking()); int PosY = POSY_TOINT; if ((PosY <= 0) || (PosY >= cChunkDef::Height)) |