diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 7b54d6823..961287868 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -135,6 +135,7 @@ #include "resources/sprite/spritereference.h" +#include "utils/checkutils.h" #include "utils/cpu.h" #include "utils/delete2.h" #include "utils/dumplibs.h" @@ -1904,6 +1905,11 @@ void Client::initTradeFilter() tradeFile << "i'm trade" << std::endl; tradeFile << "i'm trading" << std::endl; } + else + { + reportAlways("Error opening file for writing: %s", + tradeListName.c_str()); + } tradeFile.close(); } } |