Browse Source

Merge pull request #87 from Fayth/mantis-2048

I didn't even notice this issue, thanks!
DjWarmonger 10 years ago
parent
commit
58b96cdd0a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/windows/CAdvmapInterface.cpp

+ 2 - 0
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()