From: Holger Schemel Date: Fri, 5 Apr 2024 16:30:50 +0000 (+0200) Subject: added editing player name on names screen by pressing right cursor key X-Git-Tag: 4.4.0.0-test-1~100 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=4394efa62de46b411f65f5604ae3e843a5c5b4f0;p=rocksndiamonds.git added editing player name on names screen by pressing right cursor key --- 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;