diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-03-07 16:55:42 +0100 |
commit | ca352fcaf16405a6edf348cca431ea173511af3f (patch) | |
tree | b2253f8f5dff38e90b3243bd1546ff1fd0c12d49 /src/corrupt.cc | |
parent | d192b228ed08575b7247afc3a3a880550a66637f (diff) |
Replace PRACE_FLAG{,2} macros with functions
Diffstat (limited to 'src/corrupt.cc')
-rw-r--r-- | src/corrupt.cc | 3 |
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; } |