1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-25 23:12:20 +00:00

center correctly in showCustomizeChar

This commit is contained in:
Zeno Rogue 2025-08-17 03:08:45 +02:00
parent d17c91a9a8
commit af0a546114

View File

@ -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);