This was SVN commit r10430.
This commit is contained in:
parent
c82ebd7ca9
commit
ab6863c484
@ -642,7 +642,7 @@ bool ScenarioEditor::OpenFile(const wxString& name, const wxString& filename)
|
||||
fullFilename.SetExt(_T("pmp"));
|
||||
|
||||
// check if pmp exists
|
||||
qVFSFileExists qry(wxString(mapPath + fullFilename.GetFullName()).wc_str());
|
||||
qVFSFileExists qry(std::wstring((mapPath + fullFilename.GetFullName()).wc_str()));
|
||||
qry.Post();
|
||||
if (!qry.exists)
|
||||
{
|
||||
@ -653,7 +653,7 @@ bool ScenarioEditor::OpenFile(const wxString& name, const wxString& filename)
|
||||
// Every map requires an xml file, so check that it exists
|
||||
wxFileName xmlName(name);
|
||||
xmlName.SetExt(_T("xml"));
|
||||
qVFSFileExists qry(wxString(mapPath + xmlName.GetFullName()).wc_str());
|
||||
qVFSFileExists qry(std::wstring((mapPath + xmlName.GetFullName()).wc_str()));
|
||||
qry.Post();
|
||||
if (!qry.exists)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user