mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
Level Select: Skip path change.
This commit is contained in:
parent
31f3c231e0
commit
0bc2bf22a4
1 changed files with 4 additions and 0 deletions
|
@ -6722,6 +6722,9 @@ void Map_Idle_Update(void) {
|
|||
movingCamera = false;
|
||||
|
||||
if (gControllerPress[gMainController].button & A_BUTTON) {
|
||||
if (CVarGetInteger("gLevelSelector", 0) == 1) {
|
||||
goto loadLevel;
|
||||
}
|
||||
if ((gLastGameState == GSTATE_PLAY) && (sPrevMissionStatus != MISSION_COMPLETE) && !D_menu_801CEFD0) {
|
||||
Audio_PlayMapMenuSfx(1);
|
||||
D_menu_801CEFC4 = 1;
|
||||
|
@ -6730,6 +6733,7 @@ void Map_Idle_Update(void) {
|
|||
sMapState = MAP_PATH_CHANGE;
|
||||
D_menu_801CD94C = 0;
|
||||
} else {
|
||||
loadLevel:
|
||||
for (i = 0; i < TEAM_ID_MAX; i++) {
|
||||
D_ctx_80177C58[i] = gTeamShields[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue