diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-21 04:25:09 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-21 04:25:09 +0000 |
commit | 2fa3846021983d39a1eb1bdc1063b1678b6eae9e (patch) | |
tree | a9147c8b1d9973f9a5ec11bf22cd7e8b2a023058 /crawl-ref/source/mon-pick.cc | |
parent | ebe5e29212f88a4db612ffe5707c08aaa01f818e (diff) | |
download | crawl-ref-2fa3846021983d39a1eb1bdc1063b1678b6eae9e.tar.gz crawl-ref-2fa3846021983d39a1eb1bdc1063b1678b6eae9e.zip |
Fixed buggy runes introduced by branch refactoring.
Breaks savefiles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@683 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-pick.cc')
-rw-r--r-- | crawl-ref/source/mon-pick.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-pick.cc b/crawl-ref/source/mon-pick.cc index 74455c17a1..73bda905e3 100644 --- a/crawl-ref/source/mon-pick.cc +++ b/crawl-ref/source/mon-pick.cc @@ -29,7 +29,7 @@ int mons_level(int mcls) else if (you.level_type == LEVEL_PANDEMONIUM) monster_level = ((mons_pan(mcls)) ? 52 : 0); else - monster_level = branches[you.where_are_you].mons_level_function(mcls); + monster_level=branches[(int)you.where_are_you].mons_level_function(mcls); return monster_level; } @@ -42,7 +42,7 @@ int mons_rarity(int mcls) if (you.level_type == LEVEL_ABYSS) return mons_rare_abyss(mcls); else - return branches[you.where_are_you].mons_rarity_function(mcls); + return branches[(int)you.where_are_you].mons_rarity_function(mcls); } bool mons_abyss(int mcls) |