浏览代码

Removes excess assertion in HeroVisit::applyCl

AlexVinS 7 年之前
父节点
当前提交
df0aa2f69c
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);
 }