1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

* small refactoring

Please don't touch CGI->state directly in client code - use callbacks instead. I'd like to make some mechanics-critical handlers in CGI const - a lot of work, certain changes have been done here.
This commit is contained in:
mateuszb
2010-08-16 09:54:09 +00:00
parent 6f022e02bb
commit 9445e5b184
19 changed files with 176 additions and 129 deletions

View File

@@ -174,7 +174,6 @@ void LibClasses::init()
heroh = new CHeroHandler;
heroh->loadHeroes();
heroh->loadObstacles();
heroh->loadWallPositions();
heroh->loadPuzzleInfo();
tlog0 <<"\tHero handler: "<<pomtime.getDif()<<std::endl;