Got rid of ReadStream::ioFailed()

svn-id: r46379
This commit is contained in:
Max Horn 2009-12-15 08:18:57 +00:00
parent eb9b31782f
commit f692015301
9 changed files with 19 additions and 25 deletions

View file

@ -467,7 +467,7 @@ static bool DoRestore() {
if (id != (uint32)0xFEEDFACE)
error("Incompatible saved game");
bool failed = f->ioFailed();
bool failed = (f->eos() || f->err());
delete f;