Core/Commands: Fix .debug send opcode freeze if file dont exists.

This commit is contained in:
xjose93
2013-09-06 15:31:22 +02:00
parent 577c9457e3
commit 35ef163703
+1 -1
View File
@@ -264,7 +264,7 @@ public:
unit = player;
std::ifstream ifs("opcode.txt");
if (ifs.bad())
if (ifs.fail())
return false;
// remove comments from file