mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
Fix occasional assertion failure in time warp mode
This was SVN commit r8810.
This commit is contained in:
parent
e710fd25b4
commit
0b0b11d2e0
1 changed files with 3 additions and 0 deletions
|
|
@ -234,6 +234,9 @@ void CSimulation2Impl::Interpolate(float frameLength, float frameOffset)
|
|||
|
||||
CMessageInterpolate msg(frameLength, frameOffset);
|
||||
m_ComponentManager.BroadcastMessage(msg);
|
||||
|
||||
// Clean up any entities destroyed during interpolate (e.g. local corpses)
|
||||
m_ComponentManager.FlushDestroyedComponents();
|
||||
}
|
||||
|
||||
void CSimulation2Impl::DumpState()
|
||||
|
|
|
|||
Loading…
Reference in a new issue