COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)

svn-id: r40725
This commit is contained in:
Max Horn 2009-05-19 11:42:14 +00:00
parent 4d59f620f9
commit 65b5d31814
26 changed files with 68 additions and 76 deletions

View file

@ -225,7 +225,7 @@ int AgiEngine::saveGame(const char *fileName, const char *description) {
out->writeSint16BE(_gfx->getAGIPalFileNum());
out->finalize();
if (out->ioFailed()) {
if (out->err()) {
warning("Can't write file '%s'. (Disk full?)", fileName);
result = errIOError;
} else