Use the proper player to save followercolor in replays this time around

This commit is contained in:
Latapostrophe 2020-06-14 16:59:46 +02:00
parent 4eac7f8366
commit 6d07126283

View file

@ -6497,7 +6497,7 @@ void G_BeginRecording(void)
// Save follower's colour
memset(name, 0, 16);
strncpy(name, Followercolor_cons_t[players[i].followercolor].strvalue, 16); // Not KartColor_Names because followercolor has extra values such as "Match"
strncpy(name, Followercolor_cons_t[players->followercolor].strvalue, 16); // Not KartColor_Names because followercolor has extra values such as "Match"
M_Memcpy(demo_p, name, 16);
demo_p += 16;