From 85143506abfb231a6ffc717a0ebc1a8339cd8a50 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Wed, 22 Jun 2016 11:26:23 +0200 Subject: Rework SKF1_* flags to flag_set<> --- src/xtra1.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/xtra1.cc') diff --git a/src/xtra1.cc b/src/xtra1.cc index 6fbbfdf0..a816efb1 100644 --- a/src/xtra1.cc +++ b/src/xtra1.cc @@ -39,6 +39,7 @@ #include "player_race_flag.hpp" #include "player_race_mod.hpp" #include "player_type.hpp" +#include "skill_flag.hpp" #include "skill_type.hpp" #include "skills.hpp" #include "spells3.hpp" @@ -2951,7 +2952,7 @@ void calc_bonuses(bool_ silent) /* Hide the skills that should auto hide */ for (i = 0; i < max_s_idx; i++) { - if (s_info[i].flags1 & SKF1_AUTO_HIDE) + if (s_info[i].flags & SKF_AUTO_HIDE) s_info[i].hidden = TRUE; } -- cgit v1.2.3