mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-09 15:39:55 +00:00
underlying_as_pc: correctly draw player on sphere
This commit is contained in:
parent
56d421a5ce
commit
213347fbe5
@ -2429,7 +2429,7 @@ EX namespace rots {
|
|||||||
reset_projection(); current_display->set_all(0, 0);
|
reset_projection(); current_display->set_all(0, 0);
|
||||||
ptds.clear();
|
ptds.clear();
|
||||||
drawthemap();
|
drawthemap();
|
||||||
if(underlying_as_pc) drawPlayer(moPlayer, centerover, shiftless(spin90()), 0xFFFFFFFF, 0);
|
if(underlying_as_pc) drawPlayer(moPlayer, centerover, sphere ? shiftless(xpush(M_PI) * spin90()) : shiftless(spin90()), 0xFFFFFFFF, 0);
|
||||||
drawqueue();
|
drawqueue();
|
||||||
if(!underlying_as_pc) displaychr(current_display->xcenter, current_display->ycenter, 0, 24 * mapfontscale / 100, '+', 0xFFFFFFFF);
|
if(!underlying_as_pc) displaychr(current_display->xcenter, current_display->ycenter, 0, 24 * mapfontscale / 100, '+', 0xFFFFFFFF);
|
||||||
glflush();
|
glflush();
|
||||||
|
Loading…
Reference in New Issue
Block a user