summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2023-04-25 23:13:46 +0300
committerGitHub <noreply@github.com>2023-04-25 23:13:46 +0300
commitca4ebc90127acd223418c774bd0235bb80e1d672 (patch)
tree73ff4d925a580999d1b5d6aa0e4e317c3516a3d7 /src
parentd14d173c7b8685466654a324dc2c5a04124633e6 (diff)
parent632274e3b1432d55cf6cbbcafcad1ab3767b987a (diff)
Merge pull request #321 from Jcw87/FLOAT_MIN
fix FLOAT_MIN
Diffstat (limited to 'src')
-rw-r--r--src/f_op/f_op_actor.cpp4
1 files changed, 2 insertions, 2 deletions
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);