mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 21:45:00 +03:00
Level Select: Skip path change.
This commit is contained in:
parent
31f3c231e0
commit
0bc2bf22a4
@ -6722,6 +6722,9 @@ void Map_Idle_Update(void) {
|
|||||||
movingCamera = false;
|
movingCamera = false;
|
||||||
|
|
||||||
if (gControllerPress[gMainController].button & A_BUTTON) {
|
if (gControllerPress[gMainController].button & A_BUTTON) {
|
||||||
|
if (CVarGetInteger("gLevelSelector", 0) == 1) {
|
||||||
|
goto loadLevel;
|
||||||
|
}
|
||||||
if ((gLastGameState == GSTATE_PLAY) && (sPrevMissionStatus != MISSION_COMPLETE) && !D_menu_801CEFD0) {
|
if ((gLastGameState == GSTATE_PLAY) && (sPrevMissionStatus != MISSION_COMPLETE) && !D_menu_801CEFD0) {
|
||||||
Audio_PlayMapMenuSfx(1);
|
Audio_PlayMapMenuSfx(1);
|
||||||
D_menu_801CEFC4 = 1;
|
D_menu_801CEFC4 = 1;
|
||||||
@ -6730,6 +6733,7 @@ void Map_Idle_Update(void) {
|
|||||||
sMapState = MAP_PATH_CHANGE;
|
sMapState = MAP_PATH_CHANGE;
|
||||||
D_menu_801CD94C = 0;
|
D_menu_801CD94C = 0;
|
||||||
} else {
|
} else {
|
||||||
|
loadLevel:
|
||||||
for (i = 0; i < TEAM_ID_MAX; i++) {
|
for (i = 0; i < TEAM_ID_MAX; i++) {
|
||||||
D_ctx_80177C58[i] = gTeamShields[i];
|
D_ctx_80177C58[i] = gTeamShields[i];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user