avoid the_your[] duplication

get rid of a duplication of the_your[] strings (do.c, trap.c) by
moving it to c_common_strings.
This commit is contained in:
nethack.allison
2003-09-15 02:04:00 +00:00
parent e2d75840b0
commit 5eff6601e9
4 changed files with 4 additions and 4 deletions

View File

@@ -239,7 +239,7 @@ struct c_common_strings c_common_strings = {
"Nothing happens.", "That's enough tries!",
"That is a silly thing to %s.", "shudder for a moment.",
"something", "Something", "You can move again.", "Never mind.",
"vision quickly clears."
"vision quickly clears.", {"the", "your"}
};
/* NOTE: the order of these words exactly corresponds to the

View File

@@ -195,7 +195,6 @@ const char *verb;
(!u.utrap || (u.utrap && u.utraptype != TT_PIT)) &&
(t = t_at(x,y)) != 0 && t->tseen &&
(t->ttyp==PIT || t->ttyp==SPIKED_PIT)) {
static const char * const the_your[2] = { "the", "your" };
/* you escaped a pit and are standing on the precipice */
if (Blind && flags.soundok)
You_hear("%s %s downwards.",

View File

@@ -32,7 +32,6 @@ STATIC_OVL boolean FDECL(keep_saddle_with_steedcorpse,
STATIC_VAR const char * const a_your[2] = { "a", "your" };
STATIC_VAR const char * const A_Your[2] = { "A", "Your" };
STATIC_VAR const char * const the_your[2] = { "the", "your" };
STATIC_VAR const char tower_of_flame[] = "tower of flame";
STATIC_VAR const char * const A_gush_of_water_hits = "A gush of water hits";
STATIC_VAR const char * const blindgas[6] =