Browse Source

Merge pull request #87 from Fayth/mantis-2048

I didn't even notice this issue, thanks!
DjWarmonger 10 năm trước cách đây
mục cha
commit
58b96cdd0a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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()