SDL.zig
SDL.zig copied to clipboard
Weird condition in Sdk.zig
trafficstars
The second if's conditions are clearly wrong (both are always false), shouldn't detected_target be involved?
https://github.com/MasterQ32/SDL.zig/blob/9bef3552c4a031193a79884107466ea6ce8a5f4f/Sdk.zig#L235-L236
Yep, that's true. I guess i have to recreate that part of the logic, it's pretty complex sadly