diff options
author | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-07 08:53:06 +0000 |
---|---|---|
committer | pauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-07 08:53:06 +0000 |
commit | e8788817e708c9a42c568ec4d8dd07697d0191b8 (patch) | |
tree | c51216b16aa1529903067bda4b03478625d3a6df /crawl-ref/source/output.cc | |
parent | 8a70542a47a222233fae0382199d191388d602d8 (diff) | |
download | crawl-ref-e8788817e708c9a42c568ec4d8dd07697d0191b8.tar.gz crawl-ref-e8788817e708c9a42c568ec4d8dd07697d0191b8.zip |
Don't print
PPPPPPPPPPPPPPPPPPPPPPP 32 plants
limit the number of glyphs to 6 (kind of arbitrary)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4093 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index a169dee5fa..958ef1f2b4 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1059,6 +1059,9 @@ _print_next_monster_desc(const std::vector<monster_pane_info>& mons, int& start) textcolor(glyph_color); cprintf( stringize_glyph(glyph).c_str() ); ++ printed; + // Printing too many looks pretty bad, though. + if (i_mon > 6) + break; } textcolor(LIGHTGREY); |