From 2148d52ccaa12c0f18cb2d97bc8e6f1c20feb7a0 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sat, 21 May 2022 20:08:20 +0300 Subject: [PATCH] Fix gender selector position --- src/character_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character_editor.cc b/src/character_editor.cc index 55acb42..3431ec7 100644 --- a/src/character_editor.cc +++ b/src/character_editor.cc @@ -3319,7 +3319,7 @@ void characterEditorEditGender() int windowHeight = _GInfo[EDITOR_GRAPHIC_CHARWIN].height; int genderWindowX = (screenGetWidth() - EDITOR_WINDOW_WIDTH) / 2 + 9 - + _GInfo[EDITOR_GRAPHIC_NAME_ON].width; + + _GInfo[EDITOR_GRAPHIC_NAME_ON].width + _GInfo[EDITOR_GRAPHIC_AGE_ON].width; int genderWindowY = (screenGetHeight() - EDITOR_WINDOW_HEIGHT) / 2; int win = windowCreate(genderWindowX, genderWindowY, windowWidth, windowHeight, 256, WINDOW_FLAG_0x10 | WINDOW_FLAG_0x02);