Skip to content

Commit

Permalink
disable unused fogtrap curse
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Mar 31, 2024
1 parent 6c3e91e commit 5202a86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/spells/regioncurse.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,13 @@ static struct curse_type ct_farvision = {

/* --------------------------------------------------------------------- */

#ifdef ENABLE_FOGTRAP_CURSE
const struct curse_type ct_fogtrap = {
"fogtrap",
CURSETYP_NORM, 0, (M_DURATION | M_VIGOUR),
cinfo_simple
};

#endif
const struct curse_type ct_maelstrom = {
"maelstrom",
CURSETYP_NORM, 0, (M_DURATION | M_VIGOUR),
Expand Down Expand Up @@ -258,7 +259,9 @@ const struct curse_type ct_healing = {

void register_regioncurse(void)
{
#ifdef ENABLE_FOGTRAP_CURSE
ct_register(&ct_fogtrap);
#endif
ct_register(&ct_antimagiczone);
ct_register(&ct_farvision);
ct_register(&ct_gbdream);
Expand Down
4 changes: 3 additions & 1 deletion src/spells/regioncurse.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ extern const struct curse_type ct_astralblock;
extern const struct curse_type ct_badmagicresistancezone;
extern const struct curse_type ct_goodmagicresistancezone;
extern const struct curse_type ct_holyground;
extern const struct curse_type ct_fogtrap;
extern const struct curse_type ct_magicstreet;
extern const struct curse_type ct_maelstrom;
extern const struct curse_type ct_riotzone;
extern const struct curse_type ct_generous;
extern const struct curse_type ct_badlearn;
#ifdef ENABLE_FOGTRAP_CURSE
extern const struct curse_type ct_fogtrap;
#endif

struct region;

Expand Down

0 comments on commit 5202a86

Please sign in to comment.