[Scummvm-tracker] [ScummVM :: Bugs] #15294: AGS: Incorrect Use of Bitwise OR Instead of Logical OR in SetSliderValue

ScummVM :: Bugs trac at scummvm.org
Thu Jul 25 17:36:31 UTC 2024


#15294: AGS: Incorrect Use of Bitwise OR Instead of Logical OR in SetSliderValue
--------------------+--------------------------
Reporter:  RainRat  |       Owner:  (none)
    Type:  defect   |      Status:  new
Priority:  low      |   Component:  Engine: AGS
 Version:           |  Resolution:
Keywords:           |        Game:
--------------------+--------------------------
Comment (by tag2015):

 Thanks for the report!
 This is an OR between booleans so although it's not good practice it
 shouldn't change anything (besides a minimal speed improvement)

 There are quite a lot of similar occurrences in the AGS codebase (also
 with &) so we have to decide if we should fix them all or leave them as
 is...

 I'll bump the priority to keep track, then we'll see
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15294#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list