mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-26 14:21:03 +00:00
Thokker-relevant tiny tweaks
This commit is contained in:
parent
4721c180c4
commit
c9e7467817
2 changed files with 11 additions and 2 deletions
|
@ -844,6 +844,10 @@ static void IdentifyVersion(void)
|
|||
// Add our crappy patches to fix our bugs
|
||||
// D_AddFile(va(pandf,srb2waddir,"patch.dta"));
|
||||
|
||||
// Add the thokker WAD
|
||||
if (M_CheckParm("-nothokker") == 0)
|
||||
D_AddFile(va(pandf,srb2waddir,"thokker.thk"));
|
||||
|
||||
#if !defined (HAVE_SDL) || defined (HAVE_MIXER)
|
||||
{
|
||||
#if defined (DC) && 0
|
||||
|
|
|
@ -3371,8 +3371,13 @@ void D_GameTypeChanged(INT32 lastgametype)
|
|||
if (!cv_timelimit.changed && !cv_pointlimit.changed) // user hasn't changed limits
|
||||
{
|
||||
// default settings for match: timelimit 10 mins, no pointlimit
|
||||
CV_SetValue(&cv_pointlimit, 0);
|
||||
CV_SetValue(&cv_timelimit, 10);
|
||||
if (M_CheckParm("-nothokker") != 0) {
|
||||
CV_SetValue(&cv_pointlimit, 0);
|
||||
CV_SetValue(&cv_timelimit, 10);
|
||||
} else {
|
||||
CV_SetValue(&cv_pointlimit, 3);
|
||||
CV_SetValue(&cv_timelimit, 0);
|
||||
}
|
||||
}
|
||||
if (!cv_itemrespawntime.changed)
|
||||
CV_Set(&cv_itemrespawntime, cv_itemrespawntime.defaultvalue); // respawn normally
|
||||
|
|
Loading…
Reference in a new issue