1
0
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:
Michał W. Urbańczyk
2008-08-25 21:14:00 +00:00
parent 6613955463
commit ce6a9ae374
17 changed files with 150 additions and 304 deletions

View File

@ -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;