diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-12-29 14:16:22 -0800 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-12-29 17:07:38 -0800 |
commit | 2aaee630b73f2556e79aeb37518d98f229909ea3 (patch) | |
tree | 9dbcc76a7e38b8cebe9f9aa9c7d61bd227b8405b /crawl-ref/source/spells2.h | |
parent | 80cea433b4d6e3b13bbc624f82e2de4e5dfd4360 (diff) | |
download | crawl-ref-2aaee630b73f2556e79aeb37518d98f229909ea3.tar.gz crawl-ref-2aaee630b73f2556e79aeb37518d98f229909ea3.zip |
headers: fix inconsistent struct/class forward declarations
Some classes were erroneously referred to as 'struct' in forward
declarations, and vice versa.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r-- | crawl-ref/source/spells2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index 64349079de..83ba485321 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -10,7 +10,7 @@ #include "enum.h" #include "itemprop-enum.h" -struct dist; +class dist; bool brand_weapon(brand_type which_brand, int power); bool brand_ammo(special_missile_type which_brand); @@ -19,7 +19,7 @@ bool burn_freeze(int pow, beam_type flavour, monsters *monster); void corpse_rot(); -struct dist; +class dist; bool vampiric_drain(int pow, const dist &vmove); int detect_creatures(int pow, bool telepathic = false); int detect_items(int pow); |