mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
* fixed possible freeze when applying changes in gamestate
* it's impossible to enter not owned town * giving starting bonus * other improvements
This commit is contained in:
@ -312,7 +312,7 @@ void CTerrainRect::clickLeft(tribool down)
|
||||
LOCPLINT->pim->unlock();
|
||||
mres = LOCPLINT->cb->moveHero( ((const CGHeroInstance*)LOCPLINT->adventureInt->selection.selected)->type->ID,&sended,1,0);
|
||||
LOCPLINT->pim->lock();
|
||||
if(!mres)
|
||||
if(mres)
|
||||
{
|
||||
delete currentPath;
|
||||
currentPath = NULL;
|
||||
|
Reference in New Issue
Block a user