17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-08 07:15:58 +01:00
Files
maszyna/rendering
jerrrrycho 28cf5fe276 fix(gfx): a vehicle taken off the tracks stops smoking (#90)
The smoke sources of a vehicle stay in the particle manager when the vehicle
is taken off the tracks: one gone through a portal, or a road vehicle
waiting in the pool of its spawn point. They kept spawning particles where
the vehicle had vanished, for good. A source of a disabled vehicle spawns
no more particles now, the ones it let out fade away as usual, and a pooled
road vehicle puffs again once it's back on the road.

Checked on td.scn with a portal added at the dead end of tdo_n585 and an
SM42 driven into it by the AI: on master its smoke source kept about 100
particles where it vanished for the rest of the run (over 200 s); with the
fix they were gone within a second.
2026-11-07 09:37:40 +01:00
..
2026-04-27 23:03:47 +02:00
2026-05-02 14:40:31 +02:00