Fix a fresh profile not having kickstartaccel zeroed out.

This commit is contained in:
toaster 2022-04-01 20:32:48 +01:00
parent 55b0d5d07a
commit e3f9a925d8

View file

@ -38,6 +38,7 @@ profile_t* PR_MakeProfile(const char *prname, const char *pname, const char *sna
strcpy(new->follower, fname);
new->followercolor = fcol;
new->kickstartaccel = false;
// Copy from gamecontrol directly as we'll be setting controls up directly in the profile.
memcpy(new->controls, controlarray, sizeof(new->controls));