1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Two minor fixes

This commit is contained in:
Michał W. Urbańczyk 2008-07-27 20:00:41 +00:00
parent 62b0365e70
commit 001868652a
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ int _tmain(int argc, _TCHAR* argv[])
initDLL(cgi->bitmaph);
CGI->arth = VLC->arth;
CGI->creh = VLC->creh;
CGI->townh = VLC->townh;
CGI->heroh = VLC->heroh;
CGI->objh = VLC->objh;

View File

@ -1858,7 +1858,7 @@ void Mapa::initFromBytes(unsigned char * bufor)
nt->builded = 0;
nt->destroyed = 0;
nt->garrisonHero = NULL;
if(nt->ID=98)
if(nt->ID==98)
towns.push_back(nt);
break;
}