mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Fix collision bug in dark world and edit readme.md (#134)
This commit is contained in:
parent
a9bbbacd71
commit
a344a23bb9
3 changed files with 5 additions and 3 deletions
|
@ -13,7 +13,7 @@ Run `./extract_assets.py --clean && make clean` or `make distclean` to remove RO
|
|||
## Goal (accomplished)
|
||||
Create a mod for the PC port where multiple people can play online together.
|
||||
|
||||
Unlike previous online attempts, this one synchronized enemies and events. This allows player to be interacting with the same world at the same time.
|
||||
Unlike previous online attempts, this one synchronized enemies and events. This allows players to be interacting with the same world at the same time.
|
||||
|
||||
## Discord
|
||||
[https://discord.gg/TJVKHS4](https://discord.gg/TJVKHS4)
|
||||
|
|
|
@ -624,8 +624,10 @@ f32 vec3f_find_ceil(Vec3f pos, f32 height, struct Surface **ceil) {
|
|||
f32 vec3f_mario_ceil(Vec3f pos, f32 height, struct Surface **ceil) {
|
||||
if (gServerSettings.fixCollisionBugs) {
|
||||
height = MAX(height + 80.0f, pos[1] - 2);
|
||||
return find_ceil(pos[0], height, pos[2], ceil);
|
||||
} else {
|
||||
return vec3f_find_ceil(pos, height, ceil);
|
||||
}
|
||||
return find_ceil(pos[0], height, pos[2], ceil);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -28,7 +28,7 @@ static void discord_sdk_log_callback(UNUSED void* hook_data, enum EDiscordLogLev
|
|||
}
|
||||
|
||||
void discord_fatal_message(int rc) {
|
||||
return; // TODO FIGURE OUT WHY DISCORD DOES THIS
|
||||
return; // Discord usually does this because of loss of connection to Discord
|
||||
char errorMessage[132] = { 0 };
|
||||
snprintf(errorMessage, 132, "Discord threw an error.\nTo fix: \n1. Close the game.\n2. Restart Discord.\n3. Start the game.\nRC: %d", rc);
|
||||
djui_popup_create(errorMessage, 6);
|
||||
|
|
Loading…
Reference in a new issue