summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-20 22:22:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-20 22:22:04 +0000
commit037b6326b7b553ff7610b9ef70207aee35d9defa (patch)
tree3cff8782010bb1450e5a31c377a40066d3db6404 /crawl-ref/source/enum.h
parent5b618acbca35621d699dc4ba3064f2a3228a5131 (diff)
downloadcrawl-ref-037b6326b7b553ff7610b9ef70207aee35d9defa.tar.gz
crawl-ref-037b6326b7b553ff7610b9ef70207aee35d9defa.zip
Throwing nets again.
Added a number of functions that allow to differentiate between a net that currently traps a monster and one that doesn't, even if they are on the same square. This usually works but can fail if there's already a net lying on the target square. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2021 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index fe0ed78ae7..cfffdf0567 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -1522,8 +1522,8 @@ enum item_status_flag_type // per item flags: ie. ident status, cursed status
ISFLAG_EQ_JEWELLERY_MASK = 0x0000000F, // mask of flags for known jewellery
ISFLAG_CURSED = 0x00000100, // cursed
- ISFLAG_RESERVED_1 = 0x00000200, // reserved
- ISFLAG_RESERVED_2 = 0x00000400, // reserved
+ ISFLAG_STATIONARY = 0x00000200, // cannot be picked up (traps)
+ ISFLAG_RESERVED_2 = 0x00000400, // reserved
ISFLAG_RESERVED_3 = 0x00000800, // reserved
ISFLAG_CURSE_MASK = 0x00000F00, // mask of all curse related flags