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:
@@ -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 */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user