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 )
|
getPhase() == IN_GAME_MENU_PHASE )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!history->replayHistory())
|
if (!history->replayHistory() &&
|
||||||
|
! (NetworkConfig::get()->isClient() &&
|
||||||
|
RewindManager::get()->isRewinding() ) )
|
||||||
{
|
{
|
||||||
history->updateSaving(dt); // updating the saved state
|
history->updateSaving(dt); // updating the saved state
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user