From af0a546114917515581fd3412e248f2030dac1ae Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 17 Aug 2025 03:08:45 +0200 Subject: [PATCH] center correctly in showCustomizeChar --- config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.cpp b/config.cpp index 3d3c28ef..d23753c7 100644 --- a/config.cpp +++ b/config.cpp @@ -3631,7 +3631,7 @@ EX void showCustomizeChar() { flat_model_enabler fme; initquickqueue(); - shiftmatrix V = atscreenpos(vid.xres/2, firsty, scale); + shiftmatrix V = atscreenpos(dialog::dcenter, firsty, scale); double alpha = atan2(mousex - vid.xres/2, mousey - firsty) - 90._deg; V = V * spin(alpha); drawMonsterType(moPlayer, NULL, V, 0, cc_footphase / scale, NOCOLOR);