Remove SDL_GetTicks64() ifdefs

We can now use the function that doesn't wrap after ~49 days since
SDL 2.0.18 released.
This commit is contained in:
Misa
2021-11-11 23:54:32 -08:00
committed by Ethan Lee
parent 470a4358ef
commit aa343bc334
3 changed files with 0 additions and 22 deletions

View File

@@ -3087,12 +3087,8 @@ void scriptclass::hardreset(void)
{
const bool version2_2 = GlitchrunnerMode_less_than_or_equal(Glitchrunner2_2);
#if SDL_VERSION_ATLEAST(2, 0, 17)
/* The RNG is 32-bit. We don't _really_ need 64-bit... */
xoshiro_seed((Uint32) SDL_GetTicks64());
#else
xoshiro_seed(SDL_GetTicks());
#endif
//Game:
game.hascontrol = true;