1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Removes excess assertion in HeroVisit::applyCl

This commit is contained in:
AlexVinS 2018-03-17 17:10:13 +03:00
parent 1685641357
commit df0aa2f69c

View File

@ -284,7 +284,6 @@ void DisassembledArtifact::applyCl(CClient *cl)
void HeroVisit::applyCl(CClient * cl)
{
auto hero = cl->getHero(heroId);
assert(hero);
auto obj = cl->getObj(objId, false);
callInterfaceIfPresent(cl, player, &IGameEventsReceiver::heroVisit, hero, obj, starting);
}