build fix, avoid use of 'class'

Build fix, avoid use of 'class'

include\hack.h(199): error C2236: unexpected token 'class'. Did you forget a ';'?
include\hack.h(199): error C2332: 'class': missing tag name
include\hack.h(199): error C2027: use of undefined type 'sortloot_item::<unnamed-tag>'
This commit is contained in:
nhmall
2018-06-15 22:35:32 -04:00
parent f81818e85d
commit 78fca9bef0
2 changed files with 8 additions and 8 deletions

View File

@@ -196,7 +196,7 @@ struct sortloot_item {
char *str; /* result of loot_xname(obj) in some cases, otherwise null */
int indx; /* signed int, because sortloot()'s qsort comparison routine
assumes (a->indx - b->indx) might yield a negative result */
xchar class; /* order rather than object class; 0 => not yet init'd */
xchar orderclass; /* order rather than object class; 0 => not yet init'd */
xchar subclass; /* subclass for some classes */
xchar disco; /* discovery status */
};