summaryrefslogtreecommitdiff
path: root/src/xtra2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xtra2.cc')
-rw-r--r--src/xtra2.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xtra2.cc b/src/xtra2.cc
index 8d2e5581..1683acc7 100644
--- a/src/xtra2.cc
+++ b/src/xtra2.cc
@@ -15,6 +15,7 @@
#include "hooks.h"
#include "mimic.hpp"
#include "monster1.hpp"
+#include "monster2.hpp"
#include "notes.hpp"
#include "quark.h"
#include "randart.hpp"
@@ -33,6 +34,8 @@
using boost::algorithm::iequals;
+static void corrupt_corrupted(void);
+
/*
* Set "p_ptr->parasite" and "p_ptr->parasite_r_idx"
* notice observable changes
@@ -5643,7 +5646,7 @@ void make_wish(void)
* Corrupted have a 1/3 chance of losing a mutation each time this is called,
* assuming they have any in the first place
*/
-void corrupt_corrupted(void)
+static void corrupt_corrupted(void)
{
if (magik(45))
{