summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/notes.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 15:42:57 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-07 15:42:57 +0000
commit95367a34cdd01b1e436f31a169626f68175330c4 (patch)
tree7e18dc6081f3386f6cb08ed3905f319948cd023b /crawl-ref/source/notes.cc
parent5d21ab53cd4c5c73b5aa0c69376619a4992c9414 (diff)
downloadcrawl-ref-95367a34cdd01b1e436f31a169626f68175330c4.tar.gz
crawl-ref-95367a34cdd01b1e436f31a169626f68175330c4.zip
More refactoring.
Removed the limit on how many monsters can be generated as I don't think it was ever being reached. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1257 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/notes.cc')
-rw-r--r--crawl-ref/source/notes.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/notes.cc b/crawl-ref/source/notes.cc
index f827cd7926..425e00e719 100644
--- a/crawl-ref/source/notes.cc
+++ b/crawl-ref/source/notes.cc
@@ -72,7 +72,7 @@ static int dungeon_branch_depth( unsigned char branch )
static bool is_noteworthy_dlevel( unsigned short place )
{
- unsigned const char branch = (unsigned char) ((place >> 8) & 0xFF);
+ const unsigned char branch = (unsigned char) ((place >> 8) & 0xFF);
const int lev = (place & 0xFF);
/* Special levels (Abyss, etc.) are always interesting */