Fix the starposts not being cleared properly.

This commit is contained in:
toaster 2018-06-12 02:26:42 +01:00
parent a56811cb0d
commit 7f86e147f3

View file

@ -105,10 +105,10 @@ void P_ClearStarPost(INT32 postnum)
mo2 = (mobj_t *)th;
if (mo2->type != MT_STARPOST)
return;
continue;
if (mo2->health > postnum)
return;
continue;
P_SetMobjState(mo2, mo2->info->seestate);
}