- [+] prevent using 'v' to identify corpses which are feigning death

somehow....
    - [+] add a fake one
    - [+] BUT we need to make the screen not redraw...
    - [+] TEST THIS.
This commit is contained in:
Rob Pearce 2011-11-22 21:35:10 +00:00
parent c9fcd90a2c
commit c9758836a4
2 changed files with 2 additions and 2 deletions

View File

@ -1183,9 +1183,9 @@ int attacklf(lifeform_t *lf, lifeform_t *victim, object_t *wep, flag_t *damflag)
adj = getrandomadjcell(victim->cell, WE_WALKABLE, B_NOEXPAND);
if (adj) {
flag_t *f;
msg("^w%s dodge%s!",victimname,isplayer(victim) ? "" : "s");
f = addflag(victim->flags, F_NOTIME, B_TRUE, NA, NA, NULL);
moveto(victim, adj, B_FALSE, B_FALSE);
msg("^w%s dodge%s!",victimname,isplayer(victim) ? "" : "s");
killflag(f);
}

2
io.c
View File

@ -1049,7 +1049,7 @@ cell_t *askcoords(char *prompt, char *subprompt, int targettype, lifeform_t *src
tempob = addob(c->obpile, obname);
}
// show objects
o = doaskobject(c->obpile, "Describe which object", NULL, B_FALSE, B_FALSE, '\0', AO_NONE, F_NONE);
o = doaskobject(c->obpile, "Describe which object", NULL, B_TRUE, B_FALSE, B_FALSE, '\0', AO_NONE, F_NONE);
while (o) {
describeob(o);
o = doaskobject(c->obpile, "Describe which object", NULL, B_FALSE, B_FALSE, '\0', AO_NONE, F_NONE);