summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-14 09:52:44 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-14 09:52:44 +0000
commit1de6c3e73bc19e4c7c6573ce3be9d77befd4cf02 (patch)
tree5fbb9d7c20409b7c2ec892736df4ec9125c2f636 /crawl-ref
parente527aced94f5468d4beb7f862d05c3855815ea66 (diff)
downloadcrawl-ref-1de6c3e73bc19e4c7c6573ce3be9d77befd4cf02.tar.gz
crawl-ref-1de6c3e73bc19e4c7c6573ce3be9d77befd4cf02.zip
Another addition to the list of what Xom likes (1794004).
Small fix for special floor and entombment. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2085 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/mutation.cc1
-rw-r--r--crawl-ref/source/spells3.cc3
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc
index 55d3cab856..147dbaa063 100644
--- a/crawl-ref/source/mutation.cc
+++ b/crawl-ref/source/mutation.cc
@@ -1306,6 +1306,7 @@ bool mutate(mutation_type which_mutation, bool failMsg, bool force_mutation,
rot_hp( roll_dice( 1, 3 ) );
}
+ xom_is_stimulated(64);
return (true);
}
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 6275da2ff0..00d882177a 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -739,7 +739,7 @@ bool entomb(void)
char srx = 0, sry = 0;
char number_built = 0;
- FixedVector < unsigned char, 7 > safe_to_overwrite;
+ FixedVector < unsigned char, 8 > safe_to_overwrite;
// hack - passing chars through '...' promotes them to ints, which
// barfs under gcc in fixvec.h. So don't.
@@ -750,6 +750,7 @@ bool entomb(void)
safe_to_overwrite[4] = DNGN_TRAP_MAGICAL;
safe_to_overwrite[5] = DNGN_TRAP_III;
safe_to_overwrite[6] = DNGN_UNDISCOVERED_TRAP;
+ safe_to_overwrite[7] = DNGN_FLOOR_SPECIAL;
for (srx = you.x_pos - 1; srx < you.x_pos + 2; srx++)