mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Further serialization code and refactorings.
This commit is contained in:
@@ -120,7 +120,7 @@ void CClient::process(int what)
|
||||
{
|
||||
SetResource sr;
|
||||
*serv >> sr;
|
||||
tlog5 << "Set amount of "<<CGI->objh->restypes[sr.resid]
|
||||
tlog5 << "Set amount of "<<CGI->generaltexth->restypes[sr.resid]
|
||||
<< " of player "<<(unsigned)sr.player <<" to "<<sr.val<<std::endl;
|
||||
gs->apply(&sr);
|
||||
playerint[sr.player]->receivedResource(sr.resid,sr.val);
|
||||
|
||||
Reference in New Issue
Block a user