diff options
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/Client.cpp | 2 | ||||
| -rw-r--r-- | src/client/GameSave.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 326bb05..4ec929c 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -431,7 +431,9 @@ std::vector<std::string> Client::DirectorySearch(std::string directory, std::str findFileHandle = _findfirst(fileMatch.c_str(), ¤tFile); if (findFileHandle == -1L) { +#ifdef DEBUG printf("Unable to open directory\n"); +#endif return std::vector<std::string>(); } do diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 2e1a880..fbb9829 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -1097,7 +1097,9 @@ void GameSave::readPSv(char * data, int dataLength) } dataLength = i; +#ifdef DEBUG std::cout << "Parsing " << dataLength << " bytes of data, version " << ver << std::endl; +#endif if (dataLength < bw*bh) throw ParseException(ParseException::Corrupt, "Save data corrupt (missing data)"); |
