mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 17:11:33 +00:00
Prevent floating crumbling platforms from being triggered twice
This commit is contained in:
parent
cfdbc8f44a
commit
1cf5bdf82b
1 changed files with 0 additions and 1 deletions
|
@ -588,7 +588,6 @@ void T_BounceCheese(bouncecheese_t *bouncer)
|
||||||
if (bouncer->sector->crumblestate == CRUMBLE_RESTORE || bouncer->sector->crumblestate == CRUMBLE_WAIT
|
if (bouncer->sector->crumblestate == CRUMBLE_RESTORE || bouncer->sector->crumblestate == CRUMBLE_WAIT
|
||||||
|| bouncer->sector->crumblestate == CRUMBLE_ACTIVATED) // Oops! Crumbler says to remove yourself!
|
|| bouncer->sector->crumblestate == CRUMBLE_ACTIVATED) // Oops! Crumbler says to remove yourself!
|
||||||
{
|
{
|
||||||
bouncer->sector->crumblestate = CRUMBLE_WAIT;
|
|
||||||
bouncer->sector->ceilingdata = NULL;
|
bouncer->sector->ceilingdata = NULL;
|
||||||
bouncer->sector->ceilspeed = 0;
|
bouncer->sector->ceilspeed = 0;
|
||||||
bouncer->sector->floordata = NULL;
|
bouncer->sector->floordata = NULL;
|
||||||
|
|
Loading…
Reference in a new issue