2025-08-09 04:52 CEST

spring: develop 0b018304 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
rt rt develop 2018-01-18 00:58:45 develop 0827d216
Changeset fix 0005862

extend Spring.DestroyUnit with a boolean recycleID argument

this was neither planned nor desired, but required to squash another bug
ID's of destroyed units were erroneously allowed to be re-assigned again
(within three frames) *before* pool recycling took place, and most morph
gadgets since started relying on the broken behavior
as such, emulating it via an extra arg (which now at least makes seamless
insta-morph possible) was the only way to keep things working as expected
mod - rts/Lua/LuaSyncedCtrl.cpp Diff ] File ]
mod - rts/Sim/Features/FeatureHandler.h Diff ] File ]
mod - rts/Sim/Misc/SimObjectIDPool.cpp Diff ] File ]
mod - rts/Sim/Misc/SimObjectIDPool.h Diff ] File ]
mod - rts/Sim/Units/UnitHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitHandler.h Diff ] File ]