Move abs and fabsf to std namespace

This commit is contained in:
LagoLunatic
2024-08-07 12:55:30 -04:00
parent d2b9d15efb
commit d287e79ab0
40 changed files with 99 additions and 106 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ BOOL daItem_c::releaseLock() {
/* 800689A8-800689F0 .text checkActionNow__8daItem_cFv */
BOOL daItem_c::checkActionNow() {
if (fabsf(speedF) < 0.1f && fabsf(old.pos.y - current.pos.y) < 1.0f) {
if (std::abs(speedF) < 0.1f && std::abs(old.pos.y - current.pos.y) < 1.0f) {
return FALSE;
}
return TRUE;