source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Use bitflags for filters

Open speedvoltage opened this issue 9 months ago • 0 comments

Original fix authored by Tony Sergi here.

Issue: Bitflags weren't being managed properly because of missing or incorrect bitwise operations. This led to unexpected behavior when trying to set, check, or combine multiple flags. Improper flag management could result in unintended logic execution or failure to deliver the desired functionality.

Fix: Implemented the right bitwise operations to accurately set, check, and handle bitflags. This allows multiple flags to work together as they should, without causing any conflicts, resulting in more reliable and consistent behavior.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage