diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-06-08 21:40:09 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-06-08 21:40:09 +0200 |
commit | 13c6cab02a22a461521f9261bb9bbaa8ce51c4b9 (patch) | |
tree | ddeaa27d7627cd882b58423da9a2e5b184a1427f /crawl-ref/source/spl-cast.h | |
parent | a7e9368205d063d909ea949a912e846997a7636f (diff) | |
download | crawl-ref-13c6cab02a22a461521f9261bb9bbaa8ce51c4b9.tar.gz crawl-ref-13c6cab02a22a461521f9261bb9bbaa8ce51c4b9.zip |
Bring sanity to enums by making them diffable/patchable.
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index 8f2341faa8..9b730e75b5 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -38,8 +38,7 @@ enum spflag_type // use by a priest/wizard SPFLAG_NOISY = 0x100000, // makes noise, even if innate SPFLAG_TESTING = 0x200000, // a testing/debugging spell - SPFLAG_CORPSE_VIOLATING = 0x400000 // Conduct violation for Fedhas - + SPFLAG_CORPSE_VIOLATING = 0x400000, // Conduct violation for Fedhas }; enum spret_type @@ -47,7 +46,7 @@ enum spret_type SPRET_ABORT = 0, // should be left as 0 SPRET_FAIL, SPRET_SUCCESS, - SPRET_NONE // spell was not handled + SPRET_NONE, // spell was not handled }; typedef bool (*spell_selector)(spell_type spell); |