diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-11-15 15:16:20 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-11-15 15:16:20 +0100 |
commit | 3f63c60e2cdc0c6f4d07b78f15cdc5863c98e475 (patch) | |
tree | 7a401d648394f88309aa0a6c494f54181b409f4e /crawl-ref/source/notes.h | |
parent | 09a885294c264f3c933f3404c03a6cff9ab1a6c3 (diff) | |
download | crawl-ref-3f63c60e2cdc0c6f4d07b78f15cdc5863c98e475.tar.gz crawl-ref-3f63c60e2cdc0c6f4d07b78f15cdc5863c98e475.zip |
Revert "Remove useless TAG_MAJOR_VERSION condition"
This reverts commit 1668a8926a30b46a5b987ef7d9298c8019b629e7.
It was actually needed.
Since few games on CDO use the new system, I'll use the old values.
Diffstat (limited to 'crawl-ref/source/notes.h')
-rw-r--r-- | crawl-ref/source/notes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/notes.h b/crawl-ref/source/notes.h index f1bda0e97a..2c0f58befb 100644 --- a/crawl-ref/source/notes.h +++ b/crawl-ref/source/notes.h @@ -33,7 +33,9 @@ enum NOTE_TYPES NOTE_ID_ITEM, /* needs: item name (string) */ NOTE_GET_ITEM, /* needs: item name (string) */ NOTE_GAIN_SKILL, /* needs: skill id, level */ +#if TAG_MAJOR_VERSION > 31 NOTE_LOSE_SKILL, /* needs: skill id, level */ +#endif NOTE_SEEN_MONSTER, /* needs: monster name (string) */ NOTE_KILL_MONSTER, /* needs: monster name (string) */ NOTE_POLY_MONSTER, /* needs: monster name (string) */ @@ -48,6 +50,9 @@ enum NOTE_TYPES NOTE_SEEN_FEAT, /* needs: feature seen (string) */ NOTE_XOM_EFFECT, /* needs: description (name string) */ NOTE_XOM_REVIVAL, /* needs: death cause (string) */ +#if TAG_MAJOR_VERSION == 31 + NOTE_LOSE_SKILL, /* needs: skill id, level */ +#endif NOTE_NUM_TYPES }; |