mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Fixes crash when loading game (if path was visible previously);
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user