summaryrefslogtreecommitdiff
path: root/src/corrupt.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:42 +0100
committerBardur Arantsson <bardur@scientician.net>2015-03-07 16:55:42 +0100
commitca352fcaf16405a6edf348cca431ea173511af3f (patch)
treeb2253f8f5dff38e90b3243bd1546ff1fd0c12d49 /src/corrupt.cc
parentd192b228ed08575b7247afc3a3a880550a66637f (diff)
Replace PRACE_FLAG{,2} macros with functions
Diffstat (limited to 'src/corrupt.cc')
-rw-r--r--src/corrupt.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corrupt.cc b/src/corrupt.cc
index ec5d69be..4d375953 100644
--- a/src/corrupt.cc
+++ b/src/corrupt.cc
@@ -2,6 +2,7 @@
#include "init1.hpp"
#include "util.hpp"
#include "variable.hpp"
+#include "xtra1.hpp"
#include "xtra2.hpp"
#include <cassert>
@@ -757,7 +758,7 @@ static bool_ player_allow_corruption(int corruption_idx)
/* Vampire teeth is special */
if (corruption_idx == CORRUPT_VAMPIRE_TEETH)
{
- if (PRACE_FLAG(PR1_NO_SUBRACE_CHANGE))
+ if (race_flags1_p(PR1_NO_SUBRACE_CHANGE))
{
return TRUE;
}