diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-12 23:27:37 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-12 23:27:37 +0100 |
commit | 86d2ebe14adcd77d1d6365070316ed426c7ddb9e (patch) | |
tree | 5b11a6df73f9b3bf472c1dda5c02f6f3fb483bc6 /crawl-ref/source/stuff.h | |
parent | 4659bda92ee4748248f9ef5e5e978f155fb20672 (diff) | |
download | crawl-ref-86d2ebe14adcd77d1d6365070316ed426c7ddb9e.tar.gz crawl-ref-86d2ebe14adcd77d1d6365070316ed426c7ddb9e.zip |
An improved attempt at zapping monsters in starting LOS.
Now make sure that clouds don't temporarily block LOS
to monsters in view of the starting position. It's
possible that no clouds can exist at that point, but
this is safer.
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 4a7fab6c11..976bb8fddb 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -93,7 +93,7 @@ template <typename Z> inline Z sgn(Z x) } bool is_trap_square(dungeon_feature_type grid); -void zap_los_monsters(); +void zap_los_monsters(bool items_also); int integer_sqrt(int value); |