3965: Fix save codes (symptom: always jumping after load) r=Learath2 a=heinrich5991

"\t" was missing for one variable.

<!-- What is the motivation for the changes of this pull request -->

## 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: heinrich5991 <heinrich5991@gmail.com>
This commit is contained in:
bors[bot] 2021-07-23 09:18:57 +00:00 committed by GitHub
commit d74042c47f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,7 +253,7 @@ char *CSaveTee::GetString(const CSaveTeam *pTeam)
"%d\t" // m_NotEligibleForFinish
"%d\t%d\t%d\t" // tele weapons
"%s\t" // m_aGameUuid
"%d\t%d" // m_HookedPlayer, m_NewHook
"%d\t%d\t" // m_HookedPlayer, m_NewHook
"%d\t%d\t%d\t%d\t" // input stuff
"%d\t" // m_ReloadTimer
"%d", // m_TeeStarted
@ -324,7 +324,7 @@ int CSaveTee::FromString(const char *String)
"%d\t" // m_NotEligibleForFinish
"%d\t%d\t%d\t" // tele weapons
"%36s\t" // m_aGameUuid
"%d\t%d" // m_HookedPlayer, m_NewHook
"%d\t%d\t" // m_HookedPlayer, m_NewHook
"%d\t%d\t%d\t%d\t" // input stuff
"%d\t" // m_ReloadTimer
"%d", // m_TeeStarted