selected = 0;
break;
default:
- logerror("nxtitem: bad selector %d\n", np->sel);
+ CANT_HAPPEN("bad np->sel");
return 0;
}
if (selected && np->ncond) {
switch (np->sel) {
/*
* This one won't work unless you're running in emp_player
- *
*/
case NS_LIST:
if ((np->flags & EFF_OWNER) && !player->owner)
selected = 0;
break;
default:
- logerror("nxtitem: bad selector %d\n", np->sel);
+ CANT_HAPPEN("bad np->sel");
return 0;
}
if (selected && np->ncond) {
selected = 0;
break;
default:
- logerror("nxtitemp: bad selector %d\n", np->sel);
+ CANT_HAPPEN("bad np->sel");
return 0;
}
if (selected && np->ncond) {