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:
parent
1685641357
commit
df0aa2f69c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user