diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-12 23:09:31 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-12 23:10:43 +0100 |
commit | a57747c0c0f207a2cb5bee3e4d576f1feb355f96 (patch) | |
tree | 2311bf623b4bf2bcf3c3a709786930c2fb373c03 /crawl-ref/source/stuff.h | |
parent | 4f78c6e2e966681bc6249febc076bd7fa51ffe46 (diff) | |
download | crawl-ref-a57747c0c0f207a2cb5bee3e4d576f1feb355f96.tar.gz crawl-ref-a57747c0c0f207a2cb5bee3e4d576f1feb355f96.zip |
Rewrite zap_los_monsters using monster_iter.
Not sure it was broken before, but it's cleaner now.
Also move tutorial item zapping into a separate function.
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r-- | crawl-ref/source/stuff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h index 4a7fab6c11..fe5ff15245 100644 --- a/crawl-ref/source/stuff.h +++ b/crawl-ref/source/stuff.h @@ -93,6 +93,7 @@ template <typename Z> inline Z sgn(Z x) } bool is_trap_square(dungeon_feature_type grid); +void zap_los_items(); void zap_los_monsters(); int integer_sqrt(int value); |