1
0
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:
Michał W. Urbańczyk
2009-01-06 18:42:20 +00:00
parent f853074d20
commit 847a4f222c
17 changed files with 777 additions and 724 deletions

View File

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