1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fade-in fixes;

Added more map object fading cases (teleports/(dis)embarking)
This commit is contained in:
Fay
2015-01-31 18:36:57 +01:00
parent 5e78a3147a
commit 447c4603a2
4 changed files with 24 additions and 60 deletions

View File

@@ -367,7 +367,7 @@ void TryMoveHero::applyFirstCl( CClient *cl )
}
if(result == TELEPORTATION || result == EMBARK || result == DISEMBARK || !humanKnows)
CGI->mh->removeObject(h);
CGI->mh->removeObject(h, result == EMBARK && humanKnows);
if(result == DISEMBARK)
@@ -381,7 +381,7 @@ void TryMoveHero::applyCl( CClient *cl )
if(result == TELEPORTATION || result == EMBARK || result == DISEMBARK)
{
CGI->mh->printObject(h);
CGI->mh->printObject(h, result == DISEMBARK);
}
if(result == EMBARK)