summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index d1f44439c8..25f4f28038 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -2723,7 +2723,7 @@ static void _summon_flying(int power, deck_rarity_type rarity)
do
result = flytypes[random2(4) + power_level];
while (friendly && mons_class_flag(result, M_INVIS)
- && !player_see_invis());
+ && !you.can_see_invisible());
for (int i = 0; i < power_level * 5 + 2; ++i)
{