Page MenuHomeFeedback Tracker

Math.IsInRange seems to be broken
Closed, ResolvedPublic

Description

E.g. both of the following checks should return true:

SCRIPT       : Math.IsInRange(120.0, -2147483648.0, 120.0) false
SCRIPT       : Math.IsInRange(0.5, 0.0, 1.0) false

The counterpart IsInRangeInt seems to work fine.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding

Event Timeline

lava76 created this task.Feb 23 2023, 3:08 PM
Geez closed this task as Resolved.Mar 3 2023, 2:32 PM
Geez claimed this task.
Geez added a subscriber: Geez.

Thank you for the report lava76.
The issue has been resolved internally and will be fixed with the third 1.20 hotfix.
Regards,
Geez