mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 01:52:43 +00:00
Reset override_ownership to null (fixes crash in THI)
This commit is contained in:
parent
7bf2ebd7e8
commit
d4f92ed209
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ struct SyncObject* network_init_object(struct Object *o, float maxSyncDistance)
|
|||
so->ignore_if_true = NULL;
|
||||
so->on_received_pre = NULL;
|
||||
so->on_received_post = NULL;
|
||||
so->override_ownership = NULL;
|
||||
so->syncDeathEvent = true;
|
||||
so->randomSeed = (u16)(o->oSyncID * 7951);
|
||||
memset(so->extraFields, 0, sizeof(void*) * MAX_SYNC_OBJECT_FIELDS);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue