projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0520972
)
added editing player name on names screen by pressing right cursor key
author
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 16:30:50 +0000
(18:30 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 5 Apr 2024 16:30:53 +0000
(18:30 +0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index d500d7919fa6ed964cb0646870e2bcb9523a84c4..7cc586bc9cb90cf1d80c253def97e0d0171938e9 100644
(file)
--- 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;