mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 13:31:59 +00:00
Fix occasional assertion failure in time warp mode
This was SVN commit r8810.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user