From 2aaee630b73f2556e79aeb37518d98f229909ea3 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Tue, 29 Dec 2009 14:16:22 -0800 Subject: 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 --- crawl-ref/source/spells2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells2.h') 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); -- cgit v1.2.3-54-g00ecf