From: ANAND Date: Thu, 4 Apr 2019 21:42:18 +0000 (+0530) Subject: Change sign of pitch angle in debug menu (#8438) X-Git-Tag: 5.1.0~253 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d1118658902cb70182718f3a32c72b1cd799285f;p=oweals%2Fminetest.git Change sign of pitch angle in debug menu (#8438) Co-Authored-By: ClobberXD --- 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) {