mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 10:01:46 +00:00
Fixed crash in network_receive_area
This commit is contained in:
parent
254486a39f
commit
ce52fe4c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void network_receive_area(struct Packet* p) {
|
|||
packet_read(p, &gNetworkAreaTimer, sizeof(u32));
|
||||
gNetworkAreaTimerClock = clock_elapsed_ticks() - gNetworkAreaTimer;
|
||||
packet_read(p, gEnvironmentLevels, sizeof(s32));
|
||||
if (gCurrLevelNum == LEVEL_WDW) {
|
||||
if (gCurrLevelNum == LEVEL_WDW && gEnvironmentRegions != NULL) {
|
||||
gEnvironmentRegions[6] = *gEnvironmentLevels;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue