mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
Fixed crash in init_mario_after_warp()
This commit is contained in:
parent
e31a616103
commit
230ba17c8d
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ void init_mario_after_warp(void) {
|
|||
network_player_update_course_level(gNetworkPlayerLocal, gCurrCourseNum, gCurrActStarNum, gCurrLevelNum, gCurrAreaIndex);
|
||||
}
|
||||
|
||||
if (gMarioState->health <= 0x110) {
|
||||
if (gMarioState && gMarioState->health <= 0x110) {
|
||||
gMarioState->health = 0x880;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue