mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
On the recommendation of Sryder, revert everything relating to the cpusleep
changes except for the new default value of 1.
This commit is contained in:
parent
6033f70b01
commit
0350262a0f
3 changed files with 3 additions and 3 deletions
|
@ -187,7 +187,7 @@ static CV_PossibleValue_t joyport_cons_t[] = {{1, "/dev/js0"}, {2, "/dev/js1"},
|
|||
static CV_PossibleValue_t teamscramble_cons_t[] = {{0, "Off"}, {1, "Random"}, {2, "Points"}, {0, NULL}};
|
||||
|
||||
static CV_PossibleValue_t startingliveslimit_cons_t[] = {{1, "MIN"}, {99, "MAX"}, {0, NULL}};
|
||||
static CV_PossibleValue_t sleeping_cons_t[] = {{0, "MIN"}, {1000/TICRATE, "MAX"}, {0, NULL}};
|
||||
static CV_PossibleValue_t sleeping_cons_t[] = {{-1, "MIN"}, {1000/TICRATE, "MAX"}, {0, NULL}};
|
||||
static CV_PossibleValue_t competitionboxes_cons_t[] = {{0, "Normal"}, {1, "Mystery"}, //{2, "Teleport"},
|
||||
{3, "None"}, {0, NULL}};
|
||||
|
||||
|
|
|
@ -2135,7 +2135,7 @@ void I_StartupTimer(void)
|
|||
|
||||
void I_Sleep(void)
|
||||
{
|
||||
if (cv_sleep.value > 0)
|
||||
if (cv_sleep.value != -1)
|
||||
SDL_Delay(cv_sleep.value);
|
||||
}
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@ tic_t I_GetTime(void)
|
|||
|
||||
void I_Sleep(void)
|
||||
{
|
||||
if (cv_sleep.value > 0)
|
||||
if (cv_sleep.value != -1)
|
||||
Sleep(cv_sleep.value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue