mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Merge #4959
4959: Revert "CGameClient::LoadMapSettings: Load the default tuning params … r=heinrich5991 a=def-
…by default"
This reverts commit 754562ce0b
.
This breaks rendering for ddnet mode, thanks to cheeser0613 for report
`@Kaffeine` I'd prefer to have it working with DDNet instead of vanilla. A fix that doesn't break DDNet demos would be welcome.
## Checklist
- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)
Co-authored-by: Dennis Felsing <dennis@felsin9.de>
This commit is contained in:
commit
92be4a67d7
|
@ -3034,6 +3034,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
|
||||
|
|
Loading…
Reference in a new issue