mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Use Followercolor_cons_t to account for extra values and avoid more dumb crashes
This commit is contained in:
parent
be96831645
commit
6e016b3f0b
1 changed files with 1 additions and 1 deletions
|
|
@ -5156,7 +5156,7 @@ void G_WriteDemoExtraData(void)
|
|||
|
||||
// write follower color
|
||||
memset(name, 0, 16);
|
||||
strncpy(name, KartColor_Names[players[i].followercolor], 16);
|
||||
strncpy(name, Followercolor_cons_t[players[i].followercolor].strvalue, 16); // Not KartColor_Names because followercolor has extra values such as "Match"
|
||||
M_Memcpy(demo_p,name,16);
|
||||
demo_p += 16;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue