summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-01-21 17:21:10 -0330
committerDracoOmega <draco_omega@live.com>2014-01-21 17:58:55 -0330
commitf689adf1dc107d7b5265ffbe1199680f43a98833 (patch)
tree8121ac71845b291e19c8a4451d8b7d9237300444 /crawl-ref/source/actor.cc
parent45c03679f2dcbba166789f4c2e1491967487b437 (diff)
downloadcrawl-ref-f689adf1dc107d7b5265ffbe1199680f43a98833.tar.gz
crawl-ref-f689adf1dc107d7b5265ffbe1199680f43a98833.zip
Actually make netted winged fliers fall to the ground
Despite messages saying that they 'fall like a stone!', they didn't actually fall at all - you could net a harpy over water and it would happily sit upon the water for several turns until it could free itself.
Diffstat (limited to 'crawl-ref/source/actor.cc')
-rw-r--r--crawl-ref/source/actor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.cc b/crawl-ref/source/actor.cc
index 43f1fff125..aa7642ee17 100644
--- a/crawl-ref/source/actor.cc
+++ b/crawl-ref/source/actor.cc
@@ -44,7 +44,7 @@ level_id actor::shaft_dest(bool known = false) const
bool actor::airborne() const
{
flight_type fly = flight_mode();
- return fly == FL_LEVITATE || fly == FL_WINGED && !cannot_move();
+ return fly == FL_LEVITATE || fly == FL_WINGED && !(cannot_move() || caught());
}
/**