18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-04 23:45:17 +01:00
Files
maszyna/simulation
jerrrrycho 590f6a018a fix(blackbox): the vehicles of a look forgotten when the look ends
m_looked kept raw pointers to the vehicles and their entries after look_around() returned, and vehicle_removed()
erases the entry without touching it. Nothing read it outside a look, so nothing went wrong, but a later use could
have reached a freed vehicle. look_around() now empties it at its end; the vector keeps its memory for the next look.
2026-12-04 18:04:26 +01:00
..