Removed unnecessary call (the directory was already added), which was
also incorrect and caused a warning to be printed. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8382b1929e
commit
0d3120a4ea
@ -184,9 +184,7 @@ void FileManager::setDevice(IrrlichtDevice *device)
|
||||
pushTextureSearchPath(m_root_dir+"/data/textures/");
|
||||
pushModelSearchPath (m_root_dir+"/data/models/" );
|
||||
pushMusicSearchPath (m_root_dir+"/data/music/" );
|
||||
m_file_system->addFileArchive("data/models/",
|
||||
/*ignoreCase*/false,
|
||||
/*ignorePaths*/false);
|
||||
|
||||
// Add more paths from the STK_MUSIC_PATH environment variable
|
||||
if(getenv("SUPERTUXKART_MUSIC_PATH")!=NULL)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user