From 3729bb7d83361ee5032dcc513e5740da08798be6 Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 25 Apr 2007 18:49:20 +0000 Subject: Removed oklob nonbrandability, since we visibly distinguish them anyway. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1369 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/makeitem.cc | 7 +++++++ crawl-ref/source/makeitem.h | 7 +++++++ crawl-ref/source/mon-util.cc | 4 ---- 3 files changed, 14 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 7137a31c70..e0ea2b9e14 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -1,3 +1,10 @@ +/* + * File: makeitem.cc + * Summary: Item creation routines. + * + * Modified for Crawl Reference by $Author: haranp $ on $Date: 2007-03-15T20:10:20.648083Z $ + */ + #include "AppHdr.h" #include "enum.h" diff --git a/crawl-ref/source/makeitem.h b/crawl-ref/source/makeitem.h index e672f8f262..d0f1236034 100644 --- a/crawl-ref/source/makeitem.h +++ b/crawl-ref/source/makeitem.h @@ -1,3 +1,10 @@ +/* + * File: makeitem.h + * Summary: Item creation routines. + * + * Modified for Crawl Reference by $Author: haranp $ on $Date: 2007-03-15T20:10:20.648083Z $ + */ + #ifndef MAKEITEM_H #define MAKEITEM_H diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 35d968eb6e..9335ab5e1d 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -1773,10 +1773,7 @@ bool mons_is_known_mimic(const monsters *m) bool mons_looks_stabbable(const monsters *m) { - // Make sure oklob plants are never highlighted. That'll defeat the - // point of making them look like normal plants. return (!mons_class_flag(m->type, M_NO_EXP_GAIN) - && m->type != MONS_OKLOB_PLANT && !mons_is_mimic(m->type) && !mons_is_statue(m->type) && !mons_friendly(m) @@ -1786,7 +1783,6 @@ bool mons_looks_stabbable(const monsters *m) bool mons_looks_distracted(const monsters *m) { return (!mons_class_flag(m->type, M_NO_EXP_GAIN) - && m->type != MONS_OKLOB_PLANT && !mons_is_mimic(m->type) && !mons_is_statue(m->type) && !mons_friendly(m) -- cgit v1.2.3-54-g00ecf