mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'eid-teamplay-demos-workaround' into 'master'
Workaround g_teamplay assigning teams erroneously in demos Closes ring-racers#210 See merge request kart-krew-dev/ring-racers-internal!2902
This commit is contained in:
commit
0c3906690d
1 changed files with 2 additions and 0 deletions
|
|
@ -3269,6 +3269,8 @@ void G_DoPlayDemoEx(const char *defdemoname, lumpnum_t deflumpnum)
|
|||
|
||||
// net var data
|
||||
demobuf.p += CV_LoadDemoVars(demobuf.p);
|
||||
// Dumb hack for team play desyncs - https://gitlab.com/kart-krew-dev/ring-racers/-/issues/210
|
||||
g_teamplay = cv_teamplay.value ? 1 : 0;
|
||||
|
||||
memset(&grandprixinfo, 0, sizeof grandprixinfo);
|
||||
if ((demoflags & DF_GRANDPRIX))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue