CGameClient::LoadMapSettings: Load the default tuning params by default

The code which changes the default settings ruins demo playback for
default modes.
This commit is contained in:
Alexander Akulich 2022-03-08 02:26:47 +03:00
parent 0a30d8a058
commit 754562ce0b

View file

@ -3013,11 +3013,6 @@ 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