From 213347fbe5bc44723706ce7063cd8c1507dbff8c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 16 Jun 2024 13:35:36 +0200 Subject: [PATCH] underlying_as_pc: correctly draw player on sphere --- nonisotropic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonisotropic.cpp b/nonisotropic.cpp index ffd89e7f..6f8d2f25 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -2429,7 +2429,7 @@ EX namespace rots { reset_projection(); current_display->set_all(0, 0); ptds.clear(); 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(); if(!underlying_as_pc) displaychr(current_display->xcenter, current_display->ycenter, 0, 24 * mapfontscale / 100, '+', 0xFFFFFFFF); glflush();