diff options
Diffstat (limited to 'engines/sword25/math')
-rw-r--r-- | engines/sword25/math/walkregion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/math/walkregion.cpp b/engines/sword25/math/walkregion.cpp index 0ef2958521..82ee0bf782 100644 --- a/engines/sword25/math/walkregion.cpp +++ b/engines/sword25/math/walkregion.cpp @@ -46,7 +46,7 @@ namespace Sword25 { // Constants // ----------------------------------------------------------------------------- -static const int infinity = INT_MAX; +static const int infinity = (~(-1)); // ----------------------------------------------------------------------------- // Constructor / Destructor |