mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 10:01:46 +00:00
Improve a bug patch
This commit is contained in:
parent
0f01aa27ab
commit
ff9a2329fb
1 changed files with 7 additions and 4 deletions
|
|
@ -401,10 +401,13 @@ static void level_cmd_alloc_level_pool(void) {
|
|||
static void level_cmd_free_level_pool(void) {
|
||||
s32 i;
|
||||
|
||||
// these pointers would be invalid on the act selector menu
|
||||
gMarioStates[0].wall = NULL;
|
||||
gMarioStates[0].ceil = NULL;
|
||||
gMarioStates[0].floor = NULL;
|
||||
for (i = 0; i < MAX_PLAYERS; i++) {
|
||||
// these pointers would be invalid on the act selector menu
|
||||
gMarioStates[i].wall = NULL;
|
||||
gMarioStates[i].ceil = NULL;
|
||||
gMarioStates[i].floor = NULL;
|
||||
}
|
||||
|
||||
|
||||
if (!sFinishedLoadingPerm) {
|
||||
sFinishedLoadingPerm = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue