do ctrl+z snapshots when loading saves / stamps, makes it more predictable to fix problems in issue #110

This commit is contained in:
jacob1 2013-06-20 22:23:08 -04:00
parent 7a2114bc65
commit 18e2008b01
2 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,7 @@ void GameController::PlaceSave(ui::Point position)
{
gameModel->GetSimulation()->Load(position.X, position.Y, gameModel->GetPlaceSave());
gameModel->SetPaused(gameModel->GetPlaceSave()->paused | gameModel->GetPaused());
HistorySnapshot();
}
}

View File

@ -953,6 +953,7 @@ void GameView::NotifySaveChanged(GameModel * sender)
tagSimulationButton->SetText("[no tags set]");
currentSaveType = 0;
}
c->HistorySnapshot();
}
void GameView::NotifyBrushChanged(GameModel * sender)