1
0
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:
AlexVinS
2016-11-18 17:45:59 +03:00
parent ebb88f4133
commit dc39fb2d14
8 changed files with 195 additions and 289 deletions

View File

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