diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-16 09:25:17 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-16 09:25:17 +0000 |
commit | cfd996c44458c4a6c8796ad73bf5c78a193c4ea4 (patch) | |
tree | 467752455a61b28baf8bc0633c74679ca38c75f0 /crawl-ref/source/misc.cc | |
parent | 621bd9ce58cc45ce9cfcc3cf1f576882b40a426d (diff) | |
download | crawl-ref-cfd996c44458c4a6c8796ad73bf5c78a193c4ea4.tar.gz crawl-ref-cfd996c44458c4a6c8796ad73bf5c78a193c4ea4.zip |
Tweaked unique code to eliminate the confusing arithmetic on MONS enum values.
Breaks save compatibility again.
Added a unique curse skull. Indulge me.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1044 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index f545c5184f..19da6b667e 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -65,8 +65,6 @@ #include "tutorial.h" #include "view.h" -extern FixedVector<char, 10> Visible_Statue; // defined in acr.cc - bool scramble(void); bool trap_item(char base_type, char sub_type, char beam_x, char beam_y); static void dart_trap(bool trap_known, int trapped, struct bolt &pbolt, bool poison); @@ -1877,16 +1875,6 @@ bool i_feel_safe(bool announce) if ( xend >= GXM ) xend = 0; if ( ystart >= GYM ) yend = 0; - /* statue check */ - if (you.visible_statue[STATUE_SILVER] || - you.visible_statue[STATUE_ORANGE_CRYSTAL] ) - { - if (announce) - mprf(MSGCH_WARN, "There are scary statues in view."); - - return (false); - } - if (in_bounds(you.x_pos, you.y_pos) && env.cgrid[you.x_pos][you.y_pos] != EMPTY_CLOUD) { |