char mMoOdDxX[13];
int result = 0;
int cx, cy, i, c;
- int sidx, tx, ty;
+ int sidx, tx = u.ux, ty = u.uy;
boolean msg_given = TRUE; /* clear message window by default */
boolean show_goal_msg = FALSE;
boolean hilite_state = FALSE;
/* priests and minions: don't even use this function */
if (mtmp->ispriest || mtmp->isminion) {
- char priestnambuf[BUFSZ];
+ char priestnambuf[BUFSZ] = DUMMY;
char *name;
long save_prop = EHalluc_resistance;
unsigned save_invis = mtmp->minvis;
if (article == ARTICLE_THE) {
Strcat(pname, "the ");
} else {
- char buf2[BUFSZ];
+ char buf2[BUFSZ] = DUMMY;
/* don't let "Angel of <foo>" fool an() into using "the " */
Strcpy(buf2, pname);
create_des_coder();
tmptrap.spider_on_web = TRUE;
+ tmptrap.seen = FALSE;
if (argc == 1 && lua_type(L, 1) == LUA_TSTRING) {
const char *trapstr = luaL_checkstring(L, 1);