Remove redundant path name argument from the CinemaManager AddPath function.

Differential Revision: https://code.wildfiregames.com/D310
Patch By: Vladislav
This was SVN commit r19406.
This commit is contained in:
elexis
2017-04-11 01:37:00 +00:00
parent 65cbf12b7e
commit 2e37e6a8d9
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -927,7 +927,7 @@ void CXMLReader::ReadPaths(XMBElement parent)
if (!cmpCinemaManager)
continue;
if (!cmpCinemaManager->HasPath(pathName))
cmpCinemaManager->AddPath(pathName, path);
cmpCinemaManager->AddPath(path);
else
LOGWARNING("Path with name '%s' already exists", pathName.ToUTF8());
}