mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 00:28:51 -05:00
Fix: Switch Age No Longer Reloads Start Room (#2679)
This commit is contained in:
parent
d56899dd0b
commit
6f8207d3bb
@ -181,9 +181,11 @@ void RegisterSwitchAge() {
|
||||
gSaveContext.nextTransitionType == 255) {
|
||||
GET_PLAYER(gPlayState)->actor.shape.rot.y = playerYaw;
|
||||
GET_PLAYER(gPlayState)->actor.world.pos = playerPos;
|
||||
func_8009728C(gPlayState, roomCtx, roomNum); //load original room
|
||||
//func_800973FC(gPlayState, &gPlayState->roomCtx); // commit to room load?
|
||||
func_80097534(gPlayState, roomCtx); // load map for new room (unloading the previous room)
|
||||
if (roomNum != roomCtx->curRoom.num) {
|
||||
func_8009728C(gPlayState, roomCtx, roomNum); //load original room
|
||||
//func_800973FC(gPlayState, &gPlayState->roomCtx); // commit to room load?
|
||||
func_80097534(gPlayState, roomCtx); // load map for new room (unloading the previous room)
|
||||
}
|
||||
warped = false;
|
||||
CVarSetInteger("gSwitchAge", 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user