From 4394efa62de46b411f65f5604ae3e843a5c5b4f0 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 5 Apr 2024 18:30:50 +0200 Subject: [PATCH] added editing player name on names screen by pressing right cursor key --- src/screens.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/screens.c b/src/screens.c index d500d791..7cc586bc 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5088,6 +5088,14 @@ static void HandleChooseTree(int mx, int my, int dx, int dy, int button, return; } + else if (game_status == GAME_MODE_NAMES && dx == 1) + { + SetGameStatus(GAME_MODE_PSEUDO_TYPENAMES); + + DrawTypeName(); + + return; + } else if (dx == 1) { TreeInfo *node_first, *node_cursor; -- 2.34.1