aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/savedata.cpp
diff options
context:
space:
mode:
authoryinsimei2017-07-10 20:39:11 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commit08304b848ad871e25353bf4fdd9c05182bc83fbf (patch)
tree0cbfbc217b4691828bf8947935c11c05ee03185d /engines/sludge/savedata.cpp
parented09887e84b7d50fdaed7b87a4c9927620bea6aa (diff)
downloadscummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.gz
scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.tar.bz2
scummvm-rg350-08304b848ad871e25353bf4fdd9c05182bc83fbf.zip
SLUDGE: use Common/debug instead of sludge debug
Diffstat (limited to 'engines/sludge/savedata.cpp')
-rw-r--r--engines/sludge/savedata.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sludge/savedata.cpp b/engines/sludge/savedata.cpp
index d1e3fa5e2d..081798f4d3 100644
--- a/engines/sludge/savedata.cpp
+++ b/engines/sludge/savedata.cpp
@@ -23,7 +23,6 @@
#include "common/file.h"
#include "sludge/allfiles.h"
-#include "sludge/debug.h"
#include "sludge/variable.h"
#include "sludge/newfatal.h"
#include "sludge/moreio.h"
@@ -109,7 +108,7 @@ char *readTextPlain(Common::File *fp) {
return NULL;
size_t bytes_read = fp->read(reply, stringSize);
if (bytes_read != stringSize && fp->err()) {
- debugOut("Reading error in readTextPlain.\n");
+ warning("Reading error in readTextPlain.");
}
fp->readByte(); // Skip the newline character
reply[stringSize] = 0;