mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-04 10:48:25 -04:00
Use more TRUNCF_BINANG for f32 -> s16 casts (#1503)
* TRUNCF_BINANG * brackets * extra cast
This commit is contained in:
@@ -4601,7 +4601,7 @@ void Interface_DrawClock(PlayState* play) {
|
||||
}
|
||||
|
||||
timeInSeconds = TIME_TO_SECONDS_F(CURRENT_TIME);
|
||||
timeInSeconds -= ((s16)(timeInSeconds / 3600.0f)) * 3600.0f;
|
||||
timeInSeconds -= TRUNCF_BINANG(timeInSeconds / 3600.0f) * 3600.0f;
|
||||
|
||||
Gfx_SetupDL42_Overlay(play->state.gfxCtx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user