Fix
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "rogue.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 */
|
char *h_names[] = { /* strings for hitting */
|
||||||
" scored an excellent hit on ",
|
" scored an excellent hit on ",
|
||||||
|
|||||||
@@ -275,11 +275,9 @@ inventory(struct rogue_state *rs,THING *list, int type)
|
|||||||
if (n_objs == 0)
|
if (n_objs == 0)
|
||||||
{
|
{
|
||||||
if (terse)
|
if (terse)
|
||||||
msg(rs,type == 0 ? "empty handed" :
|
msg(rs,type == 0 ? (char *)"empty handed" : (char *)"nothing appropriate");
|
||||||
"nothing appropriate");
|
|
||||||
else
|
else
|
||||||
msg(rs,type == 0 ? "you are empty handed" :
|
msg(rs,type == 0 ? (char *)"you are empty handed" : (char *)"you don't have anything appropriate");
|
||||||
"you don't have anything appropriate");
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
end_line(rs);
|
end_line(rs);
|
||||||
|
|||||||
Reference in New Issue
Block a user