mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Fixed crash in spawn star packet
This commit is contained in:
parent
2b9c5b5a90
commit
6d7d79a4aa
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ void network_receive_spawn_star_nle(struct Packet* p) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// check for sync id
|
// check for sync id
|
||||||
if (object == NULL) {
|
if (object == NULL && syncId < MAX_SYNC_OBJECTS) {
|
||||||
object = gSyncObjects[syncId].o;
|
object = gSyncObjects[syncId].o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue