mthrowu, nhlan, options, regions, rip and role globals moved to g.
This commit is contained in:
@@ -656,16 +656,16 @@ boolean new_game; /* false => restoring an old game */
|
||||
*buf = '\0';
|
||||
if (new_game || u.ualignbase[A_ORIGINAL] != u.ualignbase[A_CURRENT])
|
||||
Sprintf(eos(buf), " %s", align_str(u.ualignbase[A_ORIGINAL]));
|
||||
if (!urole.name.f
|
||||
if (!g.urole.name.f
|
||||
&& (new_game
|
||||
? (urole.allow & ROLE_GENDMASK) == (ROLE_MALE | ROLE_FEMALE)
|
||||
? (g.urole.allow & ROLE_GENDMASK) == (ROLE_MALE | ROLE_FEMALE)
|
||||
: currentgend != flags.initgend))
|
||||
Sprintf(eos(buf), " %s", genders[currentgend].adj);
|
||||
|
||||
pline(new_game ? "%s %s, welcome to NetHack! You are a%s %s %s."
|
||||
: "%s %s, the%s %s %s, welcome back to NetHack!",
|
||||
Hello((struct monst *) 0), g.plname, buf, urace.adj,
|
||||
(currentgend && urole.name.f) ? urole.name.f : urole.name.m);
|
||||
Hello((struct monst *) 0), g.plname, buf, g.urace.adj,
|
||||
(currentgend && g.urole.name.f) ? g.urole.name.f : g.urole.name.m);
|
||||
}
|
||||
|
||||
#ifdef POSITIONBAR
|
||||
|
||||
Reference in New Issue
Block a user