Fix DirectX builds

This commit is contained in:
MysterD 2020-09-15 21:48:14 -07:00
parent 128b3f2b33
commit a0d5deceff
3 changed files with 4809 additions and 1 deletions

View File

@ -460,7 +460,7 @@ else
CXX := emcc
endif
LD := $(CC)
LD := $(CXX)
#ifeq ($(DISCORDRPC),1)
# LD := $(CXX)

4803
compilelog.txt Normal file

File diff suppressed because one or more lines are too long

View File

@ -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);