1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

7 days without castle loss condition. Minor fixes.

This commit is contained in:
Michał W. Urbańczyk
2010-02-01 23:30:03 +00:00
parent 172b3b0158
commit 49e56e3749
6 changed files with 81 additions and 13 deletions

View File

@@ -152,7 +152,7 @@ void RemoveObject::applyFirstCl( CClient *cl )
void RemoveObject::applyCl( CClient *cl )
{
if(cl->pathInfo->hero)
if(cl->pathInfo->hero && cl->pathInfo->hero->id != id)
GS(cl)->calculatePaths(cl->pathInfo->hero, *cl->pathInfo);
}