Skip to content

Commit

Permalink
THE
Browse files Browse the repository at this point in the history
  • Loading branch information
HailSanta authored and HailSanta committed Mar 4, 2024
1 parent 43206c5 commit 80b5cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evt/evt.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ f32 evt_fixed_var_to_float(Bytecode scriptVar) {
}

Bytecode evt_float_to_fixed_var(f32 value) {
// not equivalent to hte FLOAT_TO_FIXED() macro due to the s32 cast
// not equivalent to the FLOAT_TO_FIXED() macro due to the s32 cast
// occuring *before* the add here and *after* the add in the macro
return (s32)(value * 1024.0f) + -EVT_FIXED_OFFSET;
}
Expand Down

0 comments on commit 80b5cd4

Please sign in to comment.