Avoid storing history information during a rewind.
This commit is contained in:
parent
cdf3dd8062
commit
547e59e866
@ -849,7 +849,9 @@ void World::updateWorld(float dt)
|
||||
getPhase() == IN_GAME_MENU_PHASE )
|
||||
return;
|
||||
|
||||
if (!history->replayHistory())
|
||||
if (!history->replayHistory() &&
|
||||
! (NetworkConfig::get()->isClient() &&
|
||||
RewindManager::get()->isRewinding() ) )
|
||||
{
|
||||
history->updateSaving(dt); // updating the saved state
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user