mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
* support for prison
* updated changelog
This commit is contained in:
@@ -377,6 +377,19 @@ void CClient::process(int what)
|
||||
playerint[h->tempOwner]->heroInGarrisonChange(gs->getTown(hr.tid));
|
||||
break;
|
||||
}
|
||||
case 516:
|
||||
{
|
||||
GiveHero hr;
|
||||
*serv >> hr;
|
||||
tlog5 << "Players receives hero\n";
|
||||
CGHeroInstance *h = gs->getHero(hr.id);
|
||||
CGI->mh->hideObject(h);
|
||||
gs->apply(&hr);
|
||||
CGI->mh->initHeroDef(h);
|
||||
CGI->mh->printObject(h);
|
||||
playerint[h->tempOwner]->heroCreated(h);
|
||||
break;
|
||||
}
|
||||
case 1001:
|
||||
{
|
||||
SetObjectProperty sop;
|
||||
|
||||
Reference in New Issue
Block a user