object/identify.c(166) : error C2275: 'u32b' : illegal use of this type as an ex
pression
c:\rl\angband311\src\h-basic.h(223) : see declaration of 'u32b'
object/identify.c(166) : error C2146: syntax error : missing ';' before identifier 'curses'
object/identify.c(166) : error C2065: 'curses' : undeclared identifier
object/identify.c(169) : error C2065: 'curses' : undeclared identifier
object/identify.c(173) : error C2065: 'curses' : undeclared identifier
You need to change object_notice_curses as follows.
pression
c:\rl\angband311\src\h-basic.h(223) : see declaration of 'u32b'
object/identify.c(166) : error C2146: syntax error : missing ';' before identifier 'curses'
object/identify.c(166) : error C2065: 'curses' : undeclared identifier
object/identify.c(169) : error C2065: 'curses' : undeclared identifier
object/identify.c(173) : error C2065: 'curses' : undeclared identifier
You need to change object_notice_curses as follows.
Code:
bool object_notice_curses(object_type *o_ptr) { u32b f[OBJ_FLAG_N]; [b]u32b curses;[/b] object_flags(o_ptr, f); [b]curses = (f[2] & TR2_CURSE_MASK);[/b] /* Know whatever curse flags there are to know */ o_ptr->known_flags[2] |= curses; p_ptr->notice |= PN_SQUELCH; return (curses ? TRUE : FALSE); }
Comment