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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user