From: <xa...@us...> - 2010-09-12 17:04:41
|
Revision: 5973 http://supertuxkart.svn.sourceforge.net/supertuxkart/?rev=5973&view=rev Author: xapantu Date: 2010-09-12 17:04:34 +0000 (Sun, 12 Sep 2010) Log Message: ----------- Fix the addons reloading Modified Paths: -------------- main/trunk/src/addons/addons.cpp Modified: main/trunk/src/addons/addons.cpp =================================================================== --- main/trunk/src/addons/addons.cpp 2010-09-12 15:44:58 UTC (rev 5972) +++ main/trunk/src/addons/addons.cpp 2010-09-12 17:04:34 UTC (rev 5973) @@ -388,13 +388,13 @@ this->m_addons_list[this->index].installed = false; //write the xml file with the informations about installed karts - this->SaveInstalled(); std::string dest_file = file_manager->getAddonsDir() + "/" + "data" + "/" + this->m_addons_list[this->index].type + "s/" + this->m_addons_list[this->index].name + "/"; //remove the addons directory file_manager->removeDirectory(dest_file.c_str()); + this->SaveInstalled(); } // ---------------------------------------------------------------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |