[Scummvm-tracker] [ScummVM :: Bugs] #15292: AGS: Incorrect Use of Bitwise XOR Operator in Distance Calculation
ScummVM :: Bugs
trac at scummvm.org
Thu Jul 25 17:03:39 UTC 2024
#15292: AGS: Incorrect Use of Bitwise XOR Operator in Distance Calculation
--------------------+--------------------------
Reporter: RainRat | Owner: (none)
Type: defect | Status: new
Priority: low | Component: Engine: AGS
Version: | Resolution:
Keywords: | Game:
--------------------+--------------------------
Comment (by tag2015):
Well spotted! This is an upstream bug, as you can see here
https://github.com/adventuregamestudio/ags/blob/master/Common/util/geometry.cpp
This should definitely be fixed, hopefully it won't break games that
expect this "broken" calculation (it seems this function is only used by
FindNearestViewport, though)
I'll open a bugreport on the AGS bugtracker
--
Ticket URL: <https://bugs.scummvm.org/ticket/15292#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list