mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Removed useless CPack::type field.
* it was an ancient network protocol artifact
This commit is contained in:
@@ -467,26 +467,6 @@ void SetHeroesInTown::applyCl(CClient *cl)
|
||||
}
|
||||
}
|
||||
|
||||
// void SetHeroArtifacts::applyCl(CClient *cl)
|
||||
// {
|
||||
// // CGHeroInstance *h = GS(cl)->getHero(hid);
|
||||
// // CGameInterface *player = (vstd::contains(cl->playerint,h->tempOwner) ? cl->playerint[h->tempOwner] : nullptr);
|
||||
// // if(!player)
|
||||
// // return;
|
||||
//
|
||||
// //h->recreateArtBonuses();
|
||||
// //player->heroArtifactSetChanged(h);
|
||||
//
|
||||
// // for(Bonus bonus : gained)
|
||||
// // {
|
||||
// // player->heroBonusChanged(h,bonus,true);
|
||||
// // }
|
||||
// // for(Bonus bonus : lost)
|
||||
// // {
|
||||
// // player->heroBonusChanged(h,bonus,false);
|
||||
// // }
|
||||
// }
|
||||
|
||||
void HeroRecruited::applyCl(CClient *cl)
|
||||
{
|
||||
CGHeroInstance *h = GS(cl)->map->heroesOnMap.back();
|
||||
|
||||
Reference in New Issue
Block a user