This commit is contained in:
jl777
2019-02-02 04:51:07 -11:00
parent 830ecc52b8
commit daf4cfbe0c
2 changed files with 3 additions and 5 deletions

View File

@@ -16,7 +16,7 @@
#include <ctype.h>
#include "rogue.h"
#define EQSTR(a, b) (strcmp(a, b) == 0)
//#define EQSTR(a, b) (strcmp(a, b) == 0)
char *h_names[] = { /* strings for hitting */
" scored an excellent hit on ",

View File

@@ -275,11 +275,9 @@ inventory(struct rogue_state *rs,THING *list, int type)
if (n_objs == 0)
{
if (terse)
msg(rs,type == 0 ? "empty handed" :
"nothing appropriate");
msg(rs,type == 0 ? (char *)"empty handed" : (char *)"nothing appropriate");
else
msg(rs,type == 0 ? "you are empty handed" :
"you don't have anything appropriate");
msg(rs,type == 0 ? (char *)"you are empty handed" : (char *)"you don't have anything appropriate");
return FALSE;
}
end_line(rs);