Fix preset creatures not showing up on Windows

This commit is contained in:
2015-01-07 18:30:30 -05:00
parent 38f398caa5
commit 095ab3be49
6 changed files with 4 additions and 10 deletions

View File

@@ -812,7 +812,7 @@ void cDialog::loadFromFile(std::string path){
fname = path;
fs::path cPath = progDir/"data"/"dialogs"/path;
try{
printf("Loading dialog from: %s\n", cPath.c_str());
printf("Loading dialog from: %s\n", cPath.string().c_str());
TiXmlBase::SetCondenseWhiteSpace(false);
Document xml(cPath.string().c_str());
xml.LoadFile();