From d71ed76a0f8331e635f71fccf9d68460d5dc319b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Sat, 3 Sep 2011 03:04:06 +0000 Subject: [PATCH] Fixed villages/capitols not appearing. --- client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Client.cpp b/client/Client.cpp index 10db78560..09e0610eb 100644 --- a/client/Client.cpp +++ b/client/Client.cpp @@ -378,8 +378,8 @@ void CClient::newGame( CConnection *con, StartInfo *si ) const_cast(CGI)->mh = new CMapHandler(); CGI->mh->map = gs->map; tlog0 <<"Creating mapHandler: "<mh->init(); initVillagesCapitols(gs->map); + CGI->mh->init(); pathInfo = new CPathsInfo(int3(gs->map->width, gs->map->height, gs->map->twoLevel+1)); tlog0 <<"Initializing mapHandler (together): "<