mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-01 04:01:56 +02:00
Print errors regardless of build type
This commit is contained in:
@@ -431,9 +431,7 @@ std::vector<std::string> Client::DirectorySearch(std::string directory, std::str
|
|||||||
findFileHandle = _findfirst(fileMatch.c_str(), ¤tFile);
|
findFileHandle = _findfirst(fileMatch.c_str(), ¤tFile);
|
||||||
if (findFileHandle == -1L)
|
if (findFileHandle == -1L)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
|
||||||
printf("Unable to open directory\n");
|
printf("Unable to open directory\n");
|
||||||
#endif
|
|
||||||
return std::vector<std::string>();
|
return std::vector<std::string>();
|
||||||
}
|
}
|
||||||
do
|
do
|
||||||
|
Reference in New Issue
Block a user