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,11 +920,9 @@ s32 act_unlocking_star_door(struct MarioState *m) {
case 1:
if (is_anim_at_end(m)) {
if (m->playerIndex == 0 || allowRemoteStarSpawn) {
if (m->playerIndex != 0) {
allowRemoteStarSpawn = FALSE;
if (m->playerIndex != 0) { allowRemoteStarSpawn = FALSE; }
spawn_object(m->marioObj, MODEL_STAR, bhvUnlockDoorStar);
}
}
m->actionState++;
}
break;