mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
- removed creature-related code from ModHandler
- new towns can be loaded as mods - removed separate DefInfos for towns\capitals - a bit simpler handling of adventure map def's
This commit is contained in:
@@ -101,7 +101,8 @@ void LibClasses::init()
|
||||
spellh->loadSpells();
|
||||
tlog0<<"\tSpell handler: "<<pomtime.getDiff()<<std::endl;
|
||||
|
||||
modh->recreateHandlers(); //load all new creatures parsed in the meantime.
|
||||
modh->loadActiveMods();
|
||||
modh->reload();
|
||||
//FIXME: make sure that everything is ok after game restart
|
||||
//TODO: This should be done every time mod config changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user