Przeglądaj źródła

Removes excess assertion in HeroVisit::applyCl

AlexVinS 7 lat temu
rodzic
commit
df0aa2f69c
1 zmienionych plików z 0 dodań i 1 usunięć
  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);
 }