mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Resolve #374.
This commit is contained in:
parent
05ee9c8a21
commit
613ae0c9f8
1 changed files with 3 additions and 0 deletions
|
@ -14611,6 +14611,9 @@ void A_RolloutRock(mobj_t *actor)
|
|||
|
||||
actor->frame = actor->reactiontime % maxframes; // set frame
|
||||
|
||||
if (!actor->tracer || P_MobjWasRemoved(actor->tracer) || !actor->tracer->health)
|
||||
actor->flags |= MF_PUSHABLE;
|
||||
|
||||
if (!(actor->flags & MF_PUSHABLE)) // if being ridden, don't disappear
|
||||
actor->fuse = 0;
|
||||
else if (!actor->fuse && actor->movecount == 1) // otherwise if rock has moved, set its fuse
|
||||
|
|
Loading…
Reference in a new issue