From 632274e3b1432d55cf6cbbcafcad1ab3767b987a Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Sun, 23 Apr 2023 00:50:45 -0700 Subject: fix FLOAT_MIN --- src/f_op/f_op_actor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/f_op/f_op_actor.cpp b/src/f_op/f_op_actor.cpp index bb17772376..c11222bd3c 100644 --- a/src/f_op/f_op_actor.cpp +++ b/src/f_op/f_op_actor.cpp @@ -84,8 +84,8 @@ static int fopAc_Execute(void* i_this) { fopAcM_delete(_this); } - if (_this->current.pos.y < FLOAT_MIN) { - _this->current.pos.y = FLOAT_MIN; + if (_this->current.pos.y < -1e31f) { + _this->current.pos.y = -1e31f; } dKy_depth_dist_set(_this); -- cgit v1.2.3