mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-28 16:31:15 +00:00
SPB: only stop thinking if chase targt hitlag is >0
- Mobjs only actually freeze if hitlag >0
- This will probably stop something like 061e3c282
happening to SPB again
This commit is contained in:
parent
061e3c282c
commit
9c436763c2
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ static void SPBChase(mobj_t *spb, mobj_t *bestMobj)
|
|||
return;
|
||||
}
|
||||
|
||||
if (chase->hitlag)
|
||||
if (chase->hitlag > 0)
|
||||
{
|
||||
// If the player is frozen, the SPB should be too.
|
||||
spb->hitlag = max(spb->hitlag, chase->hitlag);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue