1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Grail digging and construction.

Minor fixes.
This commit is contained in:
Michał W. Urbańczyk
2010-02-24 13:03:36 +00:00
parent 5b0d646ddb
commit 0a950c508b
20 changed files with 185 additions and 64 deletions

View File

@ -256,11 +256,12 @@ void CClient::loadGame( const std::string & fname )
char sig[8];
CMapHeader dum;
CGI->mh = new CMapHandler();
StartInfo *si;
CLoadFile lf(fname + ".vlgm1");
lf >> sig >> dum >> *sig;
lf >> sig >> dum >> si;
tlog0 <<"Reading save signature: "<<tmh.getDif()<<std::endl;
lf >> *VLC;
CGI->setFromLib();
tlog0 <<"Reading handlers: "<<tmh.getDif()<<std::endl;