Fix NPC/Monster rendering for OTBM

This commit is contained in:
niczkx
2012-08-07 03:12:44 -06:00
parent a2db210012
commit 6feaeff8cc
7 changed files with 46 additions and 18 deletions

View File

@@ -167,7 +167,7 @@ void ResourceManager::loadFile(const std::string& fileName, std::iostream& out)
std::ifstream fin(fileName);
if(!fin) {
out.clear(std::ios::failbit);
stdext::throw_exception(stdext::format("unable to file '%s': %s", fileName.c_str(), PHYSFS_getLastError()));
stdext::throw_exception(stdext::format("unable to load file '%s': %s", fileName.c_str(), PHYSFS_getLastError()));
} else {
out << fin.rdbuf();
}