Closed hirdrac closed 2 years ago
Yes, looks like an inefficient visibility test. Choice of formal fix is https://github.com/zaimoni/Cataclysm/commit/ae8fa91040a40095c281bbe678a01dbfee7f295e .
(There is a long-term objective to try to use global positioning coordinates (GPS_loc), rather than reality-bubble coordinates (point).)
https://github.com/zaimoni/Cataclysm/blob/25fb8f054d441d9410b34f42156dae723e96853a/vehicle.cpp#L973
2 lines in vehicle::handbrake() still causing warning for Linux compiles - both actually look like bugs:
either comparison was intended instead of assignment or 'vis_loc =' should just be removed since the value of vis_loc isn't used anywhere else in the function.