1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

* Freelancer's Guild support (both town structure and adventure map object)

* fixed crashes on r-click on hero in tavern and adv map
* fixed descync issue
* allow free movement FROM guarded tile
This commit is contained in:
Michał W. Urbańczyk
2010-05-26 09:47:53 +00:00
parent 6541e89f90
commit 8bda10b695
14 changed files with 335 additions and 104 deletions

View File

@@ -92,6 +92,7 @@ void CVCMIServer::newGame(CConnection *c)
*c << ui8(0); //OK!
}
StartInfo startInfoCpy = *si;
gh.init(si,rand());
c->setGS(gh.gs);
@@ -118,7 +119,7 @@ void CVCMIServer::newGame(CConnection *c)
gh.conns.insert(cc);
}
gh.run(false);
gh.run(false, &startInfoCpy);
}
void CVCMIServer::start()
{