diff options
author | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-08 17:59:22 +0100 |
---|---|---|
committer | Johanna Ploog <j-p-e-g@users.sourceforge.net> | 2009-12-08 18:00:33 +0100 |
commit | e31a6c11280930f8cf4d1b3f1478e6fceda1776e (patch) | |
tree | 9c987b9699fd2822823b16155da8b922a76a15be /crawl-ref/source/files.cc | |
parent | 3df4398feb43003e7e1d3fb1b34ebfe4308a392d (diff) | |
download | crawl-ref-e31a6c11280930f8cf4d1b3f1478e6fceda1776e.tar.gz crawl-ref-e31a6c11280930f8cf4d1b3f1478e6fceda1776e.zip |
Add brackets.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 79bb2488e9..7836f63a1b 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -1082,7 +1082,7 @@ static void _grab_followers() if (fmenv == NULL) continue; - if ((fmenv->type == MONS_DUVESSA + if ((fmenv->type == MONS_DUVESSA || (fmenv->props.exists("original_name") && fmenv->props["original_name"].get_string() == "Duvessa")) && fmenv->alive()) @@ -1986,9 +1986,10 @@ void restore_game(void) // Sanity check - EOF if (!feof(charf)) + { end(-1, false, "\nIncomplete read of \"%s\" - aborting.\n", charFile.c_str()); - + } fclose(charf); std::string stashFile = get_savedir_filename( you.your_name, "", "st" ); |