diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 20:43:44 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 20:43:44 +0000 |
commit | 91107a94e31ddd5e42b0e6fba2d2e0a9313b99cf (patch) | |
tree | 1b644ee0a90664db8824cecb84eca32d4d76f231 /crawl-ref/source/randart.cc | |
parent | e3be83aeba89076ac1b2c9e0cccbd2cfcfcdae82 (diff) | |
download | crawl-ref-91107a94e31ddd5e42b0e6fba2d2e0a9313b99cf.tar.gz crawl-ref-91107a94e31ddd5e42b0e6fba2d2e0a9313b99cf.zip |
* Remove "Really eat rotten meat?" prompt, and print a generic refusal
message instead. Also, don't offer rotten meat on floor if you won't
be able to eat it (FR 1939905).
* Give full xp when an enslaved monster is killed, as it's to be assumed
it wouldn't have died without your interference (FR 1937178).
* Re-allow enforcing saprovorous mutation in wizard mode.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4488 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index a722c2cef4..6ed9069317 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -1787,8 +1787,7 @@ bool make_item_blessed_blade( item_def &item ) return (false); // mark as a random artefact - item.flags |= ISFLAG_ARTEFACT_MASK; - item.flags &= ~ISFLAG_UNRANDART; + item.flags |= ISFLAG_RANDART; ASSERT(!item.props.exists( KNOWN_PROPS_KEY )); item.props[KNOWN_PROPS_KEY].new_vector(SV_BOOL).resize(RA_PROPERTIES); @@ -1818,7 +1817,6 @@ bool make_item_blessed_blade( item_def &item ) // in case this is ever needed anywhere item.special = (random_int() & RANDART_SEED_MASK); - item.flags |= ISFLAG_RANDART; return (true); } |