Fix bug where knife hit might not be reported.

This commit is contained in:
Eric S. Raymond 2017-07-16 07:13:06 -04:00
parent 427bd23a10
commit 8bce57d3df
5 changed files with 64 additions and 5 deletions

2
main.c
View file

@ -448,7 +448,7 @@ static bool dwarfmove(void)
rspeak(stick > 1 ? MULTIPLE_HITS : (stick == 1 ? ONE_HIT : NONE_HIT), stick);
} else {
rspeak(KNIFE_THROWN);
rspeak(MISSES_YOU);
rspeak(stick ? GETS_YOU : MISSES_YOU);
}
if (stick == 0)
return true;