mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Correct for recursive iteration of multiple mines in succession clobbering filescope minehitlag
This commit is contained in:
parent
1f18aa727a
commit
4b9797fe26
1 changed files with 5 additions and 0 deletions
|
|
@ -324,6 +324,11 @@ tic_t K_MineExplodeAttack(mobj_t *actor, fixed_t size, boolean spin)
|
||||||
|
|
||||||
if (!spin)
|
if (!spin)
|
||||||
{
|
{
|
||||||
|
if (minehitlag == 0)
|
||||||
|
{
|
||||||
|
minehitlag = actor->hitlag;
|
||||||
|
}
|
||||||
|
|
||||||
Obj_SpawnBrolyKi(actor, minehitlag);
|
Obj_SpawnBrolyKi(actor, minehitlag);
|
||||||
|
|
||||||
return minehitlag;
|
return minehitlag;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue