From cb7be2d055d8ff811d0620bf45c501d50286d635 Mon Sep 17 00:00:00 2001 From: SHIRAKATA Kentaro Date: Tue, 23 Jul 2024 15:20:51 +0900 Subject: [PATCH] role --- src/role.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/role.c b/src/role.c index 31801c9f5..c87fe128d 100644 --- a/src/role.c +++ b/src/role.c @@ -2682,19 +2682,19 @@ Hello(struct monst *mtmp) switch (Role_switch) { case PM_KNIGHT: - Sprintf(helo_buf, "よくぞ参った%sよ", gp.plname); + Sprintf(helo_buf, "よくぞ参った%sよ", svp.plname); break; case PM_SAMURAI: - Sprintf(helo_buf, "よくぞ参られた%sよ", gp.plname); + Sprintf(helo_buf, "よくぞ参られた%sよ", svp.plname); break; case PM_TOURIST: - Sprintf(helo_buf, "アローハ%s", gp.plname); + Sprintf(helo_buf, "アローハ%s", svp.plname); break; case PM_VALKYRIE: - Sprintf(helo_buf, "魂の守護者%sよ", gp.plname); + Sprintf(helo_buf, "魂の守護者%sよ", svp.plname); break; default: - Sprintf(helo_buf, "ようこそ%s", gp.plname); + Sprintf(helo_buf, "ようこそ%s", svp.plname); break; } @@ -3461,7 +3461,7 @@ plsel_startmenu(int ttyrows, int aspect) rolename); #else Sprintf(qbuf, "%.20s, %.20s%.20sの%.20s%.20s", - gp.plname, + svp.plname, aligns[ALGN].adj, genders[GEND].adj, races[RACE].adj,