From 8ef1f35f89d538372a346f4fbc9bedd67ff73195 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Fri, 8 Apr 2022 15:05:37 +0200 Subject: [PATCH] Revert "CGameClient::LoadMapSettings: Load the default tuning params by default" This reverts commit 754562ce0bb7656dc146b8c9d823ee1a6756f4c8. This breaks rendering for ddnet mode, thanks to cheeser0613 for report --- src/game/client/gameclient.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 3cdf2cba8..32c1a6a65 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -3027,6 +3027,11 @@ void CGameClient::LoadMapSettings() for(int i = 0; i < NUM_TUNEZONES; i++) { TuningList()[i] = TuningParams; + TuningList()[i].Set("gun_curvature", 0); + TuningList()[i].Set("gun_speed", 1400); + TuningList()[i].Set("shotgun_curvature", 0); + TuningList()[i].Set("shotgun_speed", 500); + TuningList()[i].Set("shotgun_speeddiff", 0); } // Load map tunings