Local unlocking door star spawns again

This commit is contained in:
MysterD 2020-10-04 23:27:02 -07:00
parent 53f7a36819
commit 404d201955

View file

@ -920,10 +920,8 @@ s32 act_unlocking_star_door(struct MarioState *m) {
case 1: case 1:
if (is_anim_at_end(m)) { if (is_anim_at_end(m)) {
if (m->playerIndex == 0 || allowRemoteStarSpawn) { if (m->playerIndex == 0 || allowRemoteStarSpawn) {
if (m->playerIndex != 0) { if (m->playerIndex != 0) { allowRemoteStarSpawn = FALSE; }
allowRemoteStarSpawn = FALSE; spawn_object(m->marioObj, MODEL_STAR, bhvUnlockDoorStar);
spawn_object(m->marioObj, MODEL_STAR, bhvUnlockDoorStar);
}
} }
m->actionState++; m->actionState++;
} }