Fixed add-ons being left out when reloading after a resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -416,6 +416,9 @@ void IrrDriver::applyResolutionSettings()
|
||||
|
||||
file_manager->popTextureSearchPath();
|
||||
|
||||
#ifdef ADDONS_MANAGER
|
||||
KartPropertiesManager::addKartSearchDir(file_manager->getAddonsFile("karts"));
|
||||
#endif
|
||||
kart_properties_manager -> loadAllKarts();
|
||||
|
||||
attachment_manager -> loadModels();
|
||||
|
||||
Reference in New Issue
Block a user