mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
Fix DirectX builds
This commit is contained in:
parent
128b3f2b33
commit
a0d5deceff
3 changed files with 4809 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -460,7 +460,7 @@ else
|
|||
CXX := emcc
|
||||
endif
|
||||
|
||||
LD := $(CC)
|
||||
LD := $(CXX)
|
||||
|
||||
#ifeq ($(DISCORDRPC),1)
|
||||
# LD := $(CXX)
|
||||
|
|
4803
compilelog.txt
Normal file
4803
compilelog.txt
Normal file
File diff suppressed because one or more lines are too long
|
@ -117,6 +117,11 @@ void network_receive_spawn_objects(struct Packet* p) {
|
|||
}
|
||||
}
|
||||
|
||||
if (parentObj == NULL) {
|
||||
printf("ERROR: failed to attach to mario!\n");
|
||||
return;
|
||||
}
|
||||
|
||||
void* behavior = (void*)get_behavior_from_id(data.behaviorId);
|
||||
struct Object* o = spawn_object(parentObj, data.model, behavior);
|
||||
memcpy(o->rawData.asU32, data.rawData, sizeof(u32) * 80);
|
||||
|
|
Loading…
Reference in a new issue