From 9331b7b2d8438318bfa4ee7a2a7b453a590e8570 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 28 Sep 2024 13:02:05 +0200 Subject: [PATCH] changed allowing negative number of gems needed in level editor --- src/editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.c b/src/editor.c index 58fcaee6..4f067b93 100644 --- a/src/editor.c +++ b/src/editor.c @@ -1778,7 +1778,7 @@ static struct { ED_COUNTER_ID_LEVEL_GEMSLIMIT, ED_LEVEL_SETTINGS_XPOS(0), ED_LEVEL_SETTINGS_YPOS(5), - 0, 999, + -999, 999, GADGET_ID_LEVEL_GEMSLIMIT_DOWN, GADGET_ID_LEVEL_GEMSLIMIT_UP, GADGET_ID_LEVEL_GEMSLIMIT_TEXT, GADGET_ID_NONE, &level.gems_needed, -- 2.34.1