diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index a7ad30933..80fda6d11 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1618,6 +1618,8 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl, if (stampList.size()) { SaveFile *saveFile = Client::Ref().GetStamp(stampList[0]); + if (!saveFile || !saveFile->GetGameSave()) + break; c->LoadStamp(saveFile->GetGameSave()); delete saveFile; selectPoint1 = selectPoint2 = mousePosition;