diff options
| author | roeming <brother64youyou@gmail.com> | 2026-02-20 05:48:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-20 02:48:29 -0800 |
| commit | 0558bde1e61374f5a1b54453f07fe6cc15525bc1 (patch) | |
| tree | c1ba397dbde72c71a58a0f15e895aad540b25768 /src/d/d_kankyo_debug.cpp | |
| parent | 95c3626771d589bb8323eb81cf740ecd23e379b5 (diff) | |
Big cast cleanup (#3076)
* Big cast cleanup
* fix for name conflict
* rename header
* rename cast macros
* fix rename mistake
---------
Co-authored-by: roeming <roeming@users.noreply.github.com>
Diffstat (limited to 'src/d/d_kankyo_debug.cpp')
| -rw-r--r-- | src/d/d_kankyo_debug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_kankyo_debug.cpp b/src/d/d_kankyo_debug.cpp index 756276f438..973f281119 100644 --- a/src/d/d_kankyo_debug.cpp +++ b/src/d/d_kankyo_debug.cpp @@ -55,9 +55,9 @@ static void add_update_proc(u8* mode, s16* param_1, s16* param_2, s16* param_3) } } - *param_1 += (s16)value; - *param_2 += (s16)value; - *param_3 += (s16)value; + S16_ADD(*param_1, value); + S16_ADD(*param_2, value); + S16_ADD(*param_3, value); *mode = 0; g_kankyoHIO.light.dKankyo_lightHIOInfoUpDateF(); |
