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