summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/show.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/show.h')
-rw-r--r--crawl-ref/source/show.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/show.h b/crawl-ref/source/show.h
index be71529485..3f2e4cb88a 100644
--- a/crawl-ref/source/show.h
+++ b/crawl-ref/source/show.h
@@ -5,6 +5,7 @@
enum show_item_type
{
+ SHOW_ITEM_NONE,
SHOW_ITEM_ORB,
SHOW_ITEM_WEAPON,
SHOW_ITEM_ARMOUR,
@@ -38,12 +39,9 @@ enum show_class
struct show_type
{
show_class cls;
- union
- {
- dungeon_feature_type feat;
- show_item_type item;
- monster_type mons;
- };
+ dungeon_feature_type feat;
+ show_item_type item;
+ monster_type mons;
unsigned short colour;
show_type();