Browse Source

Removes excess assertion in HeroVisit::applyCl

AlexVinS 7 years ago
parent
commit
df0aa2f69c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      client/NetPacksClient.cpp

+ 0 - 1
client/NetPacksClient.cpp

@@ -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);
 }