Fix the starposts not being cleared properly.
This commit is contained in:
parent
a56811cb0d
commit
7f86e147f3
|
@ -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…
Reference in a new issue