diff options
author | Neil Moore <neil@s-z.org> | 2014-05-12 18:00:32 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-12 18:11:14 -0400 |
commit | 9bc6d1f085097d001f0ff31f9bb900bb71957212 (patch) | |
tree | ca6c52fa82eac19c98baec7ce93b557e4d5be22e /crawl-ref/source/dbg-asrt.cc | |
parent | bca6d2d0ab66b008f7f1664769ba4a3a655a3444 (diff) | |
download | crawl-ref-9bc6d1f085097d001f0ff31f9bb900bb71957212.tar.gz crawl-ref-9bc6d1f085097d001f0ff31f9bb900bb71957212.zip |
Formatting fixes (add braces).
This fixes all the instances caught by unbrace.
Diffstat (limited to 'crawl-ref/source/dbg-asrt.cc')
-rw-r--r-- | crawl-ref/source/dbg-asrt.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-asrt.cc b/crawl-ref/source/dbg-asrt.cc index e3e4379000..90e32fff0a 100644 --- a/crawl-ref/source/dbg-asrt.cc +++ b/crawl-ref/source/dbg-asrt.cc @@ -248,8 +248,10 @@ static void _dump_player(FILE *file) const unsigned int flags = get_spell_flags(spell); if (flags & SPFLAG_MONSTER) + { fprintf(file, " spell slot #%d: monster only spell %s\n", (int)i, spell_title(spell)); + } else if (flags & SPFLAG_TESTING) fprintf(file, " spell slot #%d: testing spell %s\n", (int)i, spell_title(spell)); @@ -456,8 +458,10 @@ static void _debug_marker_scan() } } if (!found) + { mprf(MSGCH_ERROR, "Marker #%d, type %d at (%d, %d) unlinked", i, (int) type, marker->pos.x, marker->pos.y); + } } const coord_def start(MAPGEN_BORDER, MAPGEN_BORDER); |