Commit 491fba1d06a4810645092b2559b9cc94abeb23bb

Sam Lantinga 2023-06-24T15:38:38

SDL_FindFreePlayerIndex() will always return the next available player index Fixes https://github.com/libsdl-org/SDL/issues/7868 (cherry picked from commit 87e916dd214866af9cfd67eb4618918bc8b0f1b4) (cherry picked from commit 38619bb28db83bc5844d13d99b3072496adcd498)