mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +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
|
||||
if (object == NULL) {
|
||||
if (object == NULL && syncId < MAX_SYNC_OBJECTS) {
|
||||
object = gSyncObjects[syncId].o;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue