From f30cb0fa5bf20f243e1ce0fb3ebffa23bf87a7f7 Mon Sep 17 00:00:00 2001 From: Fay Date: Fri, 13 Feb 2015 11:20:13 +0100 Subject: [PATCH] Fixes crash when loading game (if path was visible previously); --- client/windows/CAdvmapInterface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/windows/CAdvmapInterface.cpp b/client/windows/CAdvmapInterface.cpp index f8fb48a0e..3d2d9c332 100644 --- a/client/windows/CAdvmapInterface.cpp +++ b/client/windows/CAdvmapInterface.cpp @@ -561,6 +561,8 @@ void CAdvMapInt::restoreState() underground->block(!CGI->mh->map->twoLevel); worldViewUnderground->block(!CGI->mh->map->twoLevel); + + terrain.currentPath = nullptr; // invalidate previously visible path after game reload } CAdvMapInt::~CAdvMapInt()