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/l_dgnmon.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/l_dgnmon.cc')
-rw-r--r-- | crawl-ref/source/l_dgnmon.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/l_dgnmon.cc b/crawl-ref/source/l_dgnmon.cc index 897751c9df..e8204ff01f 100644 --- a/crawl-ref/source/l_dgnmon.cc +++ b/crawl-ref/source/l_dgnmon.cc @@ -146,19 +146,25 @@ static int dgn_set_random_mon_list(lua_State *ls) mons.push_back(mon); if (mon.number != 0) + { mprf(MSGCH_ERROR, "dgn.set_random_mon_list() : number for %s " "being discarded.", name.c_str()); + } if (mon.colour != BLACK) + { mprf(MSGCH_ERROR, "dgn.set_random_mon_list() : colour for " "%s being ignored.", name.c_str()); + } if (!mon.items.empty()) + { mprf(MSGCH_ERROR, "dgn.set_random_mon_list() : items for " "%s being ignored.", name.c_str()); + } } // for (int i = 0; i < num_mons; i++) if (mons.empty() && num_lords > 0) |