diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2024-04-16 18:00:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-16 10:00:08 -0600 |
| commit | 9ac20c80b817a5b49af148bd342dd60ce7a28802 (patch) | |
| tree | 24ac1b201af6f5b45da69b3eed4b34145e60ba5f /src/spawn_players.c | |
| parent | d9c1ebb6263cc3a2d494c9ece53edb3c8a2a4b39 (diff) | |
fix a lot of warning in code (#598)
* Fix warnings
* Fix building
Diffstat (limited to 'src/spawn_players.c')
| -rw-r--r-- | src/spawn_players.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/spawn_players.c b/src/spawn_players.c index 2c3719357..e4298d0c6 100644 --- a/src/spawn_players.c +++ b/src/spawn_players.c @@ -22,6 +22,7 @@ #include "render_player.h" #include "code_80091750.h" #include "effects.h" +#include "decode.h" f32 D_80165210[8]; f32 D_80165230[8]; @@ -913,7 +914,7 @@ void func_8003C0F0(void) { case SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL: case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: temp = 5; - if (1); + if (1) {}; D_80165210[0] = 0; D_80165210[1] = 0; D_80165230[1] = -200.0f; @@ -945,7 +946,7 @@ void func_8003C0F0(void) { case SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL: case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: temp = 0x1E0; - if (1); + if (1) {}; D_80165210[0] = 0.0f; D_80165210[1] = 0.0f; D_80165230[1] = -400.0f; @@ -977,7 +978,7 @@ void func_8003C0F0(void) { case SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL: case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: temp = 0x37; - if (1); + if (1) {}; D_80165210[0] = 0.0f; D_80165210[1] = 0.0f; D_80165230[1] = -160.0f; @@ -1009,7 +1010,7 @@ void func_8003C0F0(void) { case SCREEN_MODE_2P_SPLITSCREEN_HORIZONTAL: case SCREEN_MODE_2P_SPLITSCREEN_VERTICAL: temp = 0xC8; - if (1); + if (1) {}; D_80165210[0] = 0.0f; D_80165210[1] = 0.0f; D_80165230[1] = -575.0f; |
