mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Fixed wall hugging issue (#149)
This commit is contained in:
parent
ac7b872304
commit
466b0066a4
1 changed files with 5 additions and 0 deletions
|
@ -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
|
// set mario/camera pos
|
||||||
if (gCurrLevelNum == LEVEL_CASTLE_GROUNDS) {
|
if (gCurrLevelNum == LEVEL_CASTLE_GROUNDS) {
|
||||||
if (!sFirstCastleGroundsMenu) {
|
if (!sFirstCastleGroundsMenu) {
|
||||||
|
|
Loading…
Reference in a new issue