diff options
Diffstat (limited to 'crawl-ref/source/main.cc')
-rw-r--r-- | crawl-ref/source/main.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc index 31f7b755af..71b0c387fb 100644 --- a/crawl-ref/source/main.cc +++ b/crawl-ref/source/main.cc @@ -2280,12 +2280,14 @@ static void _decrement_durations() } } -#if (TAG_MAJOR_VERSION == 15) - // The TAG_MAJOR #define is merely bait to make sure someone deletes this - // check after the affected games are fixed. - if (you.duration[DUR_TRANSFORMATION] < 0) - you.duration[DUR_TRANSFORMATION] = 1); -#endif + if (TAG_MAJOR_VERSION == 15) + { + // FIXME: The TAG_MAJOR check is merely bait to make sure + // someone deletes this check after the affected games are + // fixed. + if (you.duration[DUR_TRANSFORMATION] < 0) + you.duration[DUR_TRANSFORMATION] = 1; + } // Vampire bat transformations are permanent (until ended). if (you.species != SP_VAMPIRE || !player_in_bat_form() |