Change sign of pitch angle in debug menu (#8438)
authorANAND <ClobberXD@gmail.com>
Thu, 4 Apr 2019 21:42:18 +0000 (03:12 +0530)
committerParamat <paramat@users.noreply.github.com>
Thu, 4 Apr 2019 21:42:18 +0000 (22:42 +0100)
Co-Authored-By: ClobberXD <ClobberXD@gmail.com>
src/client/gameui.cpp

index 656705ff9a8b287b9607a89c58f8f4934c694207..59f1886cbcc2ff1b63bb44b559e10c0965550a36 100644 (file)
@@ -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) {