mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 13:21:20 +00:00
bruh
This commit is contained in:
parent
9499cb5409
commit
488f0fdfab
2 changed files with 5 additions and 6 deletions
|
@ -613,6 +613,10 @@ void D_RegisterServerCommands(void)
|
|||
|
||||
CV_RegisterVar(&cv_allowseenames);
|
||||
|
||||
// Other filesrch.c consvars are defined in D_RegisterClientCommands
|
||||
CV_RegisterVar(&cv_addons_option);
|
||||
CV_RegisterVar(&cv_addons_folder);
|
||||
|
||||
CV_RegisterVar(&cv_dummyconsvar);
|
||||
}
|
||||
|
||||
|
@ -795,7 +799,7 @@ void D_RegisterClientCommands(void)
|
|||
|
||||
// filesrch.c
|
||||
//CV_RegisterVar(&cv_addons_option); // These two are now defined
|
||||
//CV_RegisterVar(&cv_addons_folder); // in R_RegisterEngineStuff
|
||||
//CV_RegisterVar(&cv_addons_folder); // in D_RegisterServerCommands
|
||||
CV_RegisterVar(&cv_addons_md5);
|
||||
CV_RegisterVar(&cv_addons_showall);
|
||||
CV_RegisterVar(&cv_addons_search_type);
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "r_main.h"
|
||||
#include "i_system.h" // I_GetPreciseTime
|
||||
#include "r_fps.h" // Frame interpolation/uncapped
|
||||
#include "filesrch.c" // cv_addons_folder
|
||||
|
||||
#ifdef HWRENDER
|
||||
#include "hardware/hw_main.h"
|
||||
|
@ -1590,10 +1589,6 @@ void R_RegisterEngineStuff(void)
|
|||
CV_RegisterVar(&cv_flipcam);
|
||||
CV_RegisterVar(&cv_flipcam2);
|
||||
|
||||
// Other filesrch.c consvars are defined in D_RegisterClientCommands
|
||||
CV_RegisterVar(&cv_addons_option);
|
||||
CV_RegisterVar(&cv_addons_folder);
|
||||
|
||||
// Enough for dedicated server
|
||||
if (dedicated)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue