Fixed wall hugging issue (#149)
This commit is contained in:
parent
ac7b872304
commit
466b0066a4
|
@ -1342,6 +1342,11 @@ void update_menu_level(void) {
|
|||
}
|
||||
}
|
||||
|
||||
// set sFirstCastleGroundsMenu to false to prevent wall hugging bug
|
||||
if (curLevel != LEVEL_CASTLE_GROUNDS) {
|
||||
sFirstCastleGroundsMenu = false;
|
||||
}
|
||||
|
||||
// set mario/camera pos
|
||||
if (gCurrLevelNum == LEVEL_CASTLE_GROUNDS) {
|
||||
if (!sFirstCastleGroundsMenu) {
|
||||
|
|
Loading…
Reference in New Issue