Created
November 9, 2010 18:22
-
-
Save vermie/669532 to your computer and use it in GitHub Desktop.
file load err reporting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/MoveMap.cpp b/src/game/MoveMap.cpp | |
index 0dbdef4..094a9cf 100644 | |
--- a/src/game/MoveMap.cpp | |
+++ b/src/game/MoveMap.cpp | |
@@ -36,6 +36,7 @@ void Map::LoadNavMesh(int gx, int gy) | |
if(!file) | |
{ | |
sLog.outDebug("Error: Could not open mmap file '%s'", fileName); | |
+ perror(fileName); | |
delete [] fileName; | |
return; | |
} | |
@@ -68,6 +69,7 @@ void Map::LoadNavMesh(int gx, int gy) | |
if(!file) | |
{ | |
sLog.outDebug("Error: Could not open mmtile file '%s'", fileName); | |
+ perror(fileName); | |
delete [] fileName; | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment