forked from github/server
parent
30a43b925d
commit
a9a8a9a6d3
|
@ -249,6 +249,8 @@ print_curses(FILE * F, const faction * viewer, const void * obj, typ_t typ)
|
|||
self = c->type->cansee(viewer, obj, typ, c, self);
|
||||
}
|
||||
dh = c->type->curseinfo(viewer->locale, obj, typ, c, self);
|
||||
} else {
|
||||
log_error(("no curseinfo for %s\n", c->type->cname));
|
||||
}
|
||||
if (dh==0) {
|
||||
if (c->type->info_str!=NULL) {
|
||||
|
|
|
@ -2476,7 +2476,7 @@ magic(void)
|
|||
boolean casted = false;
|
||||
order * ord;
|
||||
|
||||
if (u->race == new_race[RC_SPELL] || fval(u, UFL_LONGACTION))
|
||||
if (u->number<=0 || u->race == new_race[RC_SPELL])
|
||||
continue;
|
||||
|
||||
if (u->race == new_race[RC_INSECT] && r_insectstalled(r) &&
|
||||
|
|
Loading…
Reference in New Issue