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
1 changed files with 2 additions and 2 deletions

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);
}