diff --git a/src/objects/crate.cpp b/src/objects/crate.cpp index 7405b0b80..dafa06b72 100644 --- a/src/objects/crate.cpp +++ b/src/objects/crate.cpp @@ -118,7 +118,7 @@ struct AnyBox : Graphic void update() { - visit([](auto box) { box->mobj_t::z++; }); + visit([](auto box) { box->mobj_t::eflags &= ~MFE_ONGROUND; }); } };