summaryrefslogtreecommitdiff
path: root/src/client/gameui.cpp
diff options
context:
space:
mode:
authorANAND <ClobberXD@gmail.com>2019-04-05 03:12:18 +0530
committerParamat <paramat@users.noreply.github.com>2019-04-04 22:42:18 +0100
commitd1118658902cb70182718f3a32c72b1cd799285f (patch)
treefeba04351451d67058395ff0b979893cd460497c /src/client/gameui.cpp
parent4f7674d448abb9f12030c743a1a6a0d3ad07ad7c (diff)
downloadminetest-d1118658902cb70182718f3a32c72b1cd799285f.tar.gz
minetest-d1118658902cb70182718f3a32c72b1cd799285f.tar.bz2
minetest-d1118658902cb70182718f3a32c72b1cd799285f.zip
Change sign of pitch angle in debug menu (#8438)
Co-Authored-By: ClobberXD <ClobberXD@gmail.com>
Diffstat (limited to 'src/client/gameui.cpp')
-rw-r--r--src/client/gameui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 656705ff9..59f1886cb 100644
--- a/src/client/gameui.cpp
+++ b/src/client/gameui.cpp
@@ -128,7 +128,7 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
<< ", " << (player_position.Z / BS)
<< "), yaw: " << (wrapDegrees_0_360(cam.camera_yaw)) << "° "
<< yawToDirectionString(cam.camera_yaw)
- << ", pitch: " << (wrapDegrees_180(cam.camera_pitch)) << "°"
+ << ", pitch: " << (-wrapDegrees_180(cam.camera_pitch)) << "°"
<< ", seed: " << ((u64)client->getMapSeed());
if (pointed_old.type == POINTEDTHING_NODE) {