mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user