diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-10-27 00:29:52 -0400 |
| commit | 81ebe0dfd449166e00de31ce9be2d7449e31536c (patch) | |
| tree | 0f7b648f69950c3d5edd916041ac52697c94ca4d /src/d/d_attention.cpp | |
| parent | 02de6b772d06b2ed15bbe7b25d01901fdca84966 (diff) | |
Work on JAS inlines, fix limits/climits headers
Diffstat (limited to 'src/d/d_attention.cpp')
| -rw-r--r-- | src/d/d_attention.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_attention.cpp b/src/d/d_attention.cpp index aa96d1bc..8a53d0a2 100644 --- a/src/d/d_attention.cpp +++ b/src/d/d_attention.cpp @@ -437,14 +437,14 @@ void dAttention_c::initList(u32 flagMask) { for (i = 0; i < (s32)ARRAY_SIZE(mLockOnList); i++) { mLockOnList[i].setActor(NULL); - mLockOnList[i].mWeight = FLOAT_MAX; + mLockOnList[i].mWeight = FLT_MAX; } mLockOnOffset = 0; mLockonCount = 0; for (i = 0; i < (s32)ARRAY_SIZE(mActionList); i++) { mActionList[i].setActor(NULL); - mActionList[i].mWeight = FLOAT_MAX; + mActionList[i].mWeight = FLT_MAX; } mActionOffset = 0; mActionCount = 0; |
