mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-11 10:32:35 +00:00
Crates: update without changing Z
If crates are inside of each other, Z must remain unchanged, else it causes a teleport (floorz).
This commit is contained in:
parent
c5968ad3ad
commit
ad5baa2636
1 changed files with 1 additions and 1 deletions
|
|
@ -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; });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue