remove fullbright 4

Removed due to smoke exploit
This commit is contained in:
Skull 2022-06-28 22:07:23 +03:00
parent 3a105986f1
commit d4eaf61744

View File

@ -49,8 +49,6 @@ namespace renderer
{
switch (dvars::r_fullbright->current.integer)
{
case 3:
return 3;
case 2:
return 13;
default:
@ -146,7 +144,7 @@ namespace renderer
return;
}
dvars::r_fullbright = dvars::register_int("r_fullbright", 0, 0, 3, game::DVAR_FLAG_SAVED, "Toggles rendering without lighting");
dvars::r_fullbright = dvars::register_int("r_fullbright", 0, 0, 2, game::DVAR_FLAG_SAVED, "Toggles rendering without lighting");
r_init_draw_method_hook.create(SELECT_VALUE(0x5467E0_b, 0x669580_b), &r_init_draw_method_stub);
r_update_front_end_dvar_options_hook.create(SELECT_VALUE(0x583560_b, 0x6A78C0_b), &r_update_front_end_dvar_options_stub);