mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-28 08:22:18 +00:00
center correctly in showCustomizeChar
This commit is contained in:
parent
d17c91a9a8
commit
af0a546114
@ -3631,7 +3631,7 @@ EX void showCustomizeChar() {
|
|||||||
flat_model_enabler fme;
|
flat_model_enabler fme;
|
||||||
|
|
||||||
initquickqueue();
|
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;
|
double alpha = atan2(mousex - vid.xres/2, mousey - firsty) - 90._deg;
|
||||||
V = V * spin(alpha);
|
V = V * spin(alpha);
|
||||||
drawMonsterType(moPlayer, NULL, V, 0, cc_footphase / scale, NOCOLOR);
|
drawMonsterType(moPlayer, NULL, V, 0, cc_footphase / scale, NOCOLOR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user