summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-12 18:00:32 -0400
committerNeil Moore <neil@s-z.org>2014-05-12 18:11:14 -0400
commit9bc6d1f085097d001f0ff31f9bb900bb71957212 (patch)
treeca6c52fa82eac19c98baec7ce93b557e4d5be22e /crawl-ref/source/state.cc
parentbca6d2d0ab66b008f7f1664769ba4a3a655a3444 (diff)
downloadcrawl-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/state.cc')
-rw-r--r--crawl-ref/source/state.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/state.cc b/crawl-ref/source/state.cc
index a1957b0ab4..6c6119d641 100644
--- a/crawl-ref/source/state.cc
+++ b/crawl-ref/source/state.cc
@@ -477,8 +477,10 @@ void game_state::dump()
"arena_suspended: %d\n",
seen_hups, map_stat_gen, type, arena_suspended);
if (last_winch)
+ {
fprintf(stderr, "Last resize was %" PRId64" seconds ago.\n",
(int64_t)(time(0) - last_winch));
+ }
fprintf(stderr, "\n");
@@ -522,9 +524,11 @@ void game_state::dump()
{
fprintf(stderr, "Other gods acting:\n");
for (unsigned int i = 0; i < god_act_stack.size(); i++)
+ {
fprintf(stderr, "God %s with depth %d\n",
god_name(god_act_stack[i].which_god).c_str(),
god_act_stack[i].depth);
+ }
fprintf(stderr, "\n\n");
}
@@ -539,8 +543,10 @@ void game_state::dump()
{
fprintf(stderr, "Others monsters acting:\n");
for (unsigned int i = 0; i < mon_act_stack.size(); i++)
+ {
fprintf(stderr, " %s\n",
debug_mon_str(mon_act_stack[i]).c_str());
+ }
}
}