mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix the starposts not being cleared properly.
This commit is contained in:
parent
653d6112e8
commit
05afb28b57
1 changed files with 2 additions and 2 deletions
|
|
@ -105,10 +105,10 @@ void P_ClearStarPost(INT32 postnum)
|
||||||
mo2 = (mobj_t *)th;
|
mo2 = (mobj_t *)th;
|
||||||
|
|
||||||
if (mo2->type != MT_STARPOST)
|
if (mo2->type != MT_STARPOST)
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
if (mo2->health > postnum)
|
if (mo2->health > postnum)
|
||||||
return;
|
continue;
|
||||||
|
|
||||||
P_SetMobjState(mo2, mo2->info->seestate);
|
P_SetMobjState(mo2, mo2->info->seestate);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue