Renamed 'dz_silent_aim' to 'dz_aimbot_silent_aim' 2
This commit is contained in:
parent
3aaf7c8346
commit
7239d610a8
|
@ -15,7 +15,7 @@ DECL_CVAR(tracers);
|
||||||
DECL_CVAR(clmove);
|
DECL_CVAR(clmove);
|
||||||
DECL_CVAR(watermark);
|
DECL_CVAR(watermark);
|
||||||
DECL_CVAR(watermark_rainbow);
|
DECL_CVAR(watermark_rainbow);
|
||||||
DECL_CVAR(silent_aim);
|
DECL_CVAR(aimbot_silent_aim);
|
||||||
|
|
||||||
bool cvars_init(void) {
|
bool cvars_init(void) {
|
||||||
REGISTER_CVAR(bhop, 1);
|
REGISTER_CVAR(bhop, 1);
|
||||||
|
@ -28,7 +28,7 @@ bool cvars_init(void) {
|
||||||
REGISTER_CVAR(clmove, 0);
|
REGISTER_CVAR(clmove, 0);
|
||||||
REGISTER_CVAR(watermark, 1);
|
REGISTER_CVAR(watermark, 1);
|
||||||
REGISTER_CVAR(watermark_rainbow, 1);
|
REGISTER_CVAR(watermark_rainbow, 1);
|
||||||
REGISTER_CVAR(silent_aim, 1);
|
REGISTER_CVAR(aimbot_silent_aim, 1);
|
||||||
if (IsCS16()) {
|
if (IsCS16()) {
|
||||||
REGISTER_CVAR(tracers, 0);
|
REGISTER_CVAR(tracers, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -98,7 +98,7 @@ void aimbot(usercmd_t* cmd) {
|
||||||
cmd->buttons &= ~IN_ATTACK;
|
cmd->buttons &= ~IN_ATTACK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CVAR_ON(silent_aim)) {
|
if (CVAR_ON(aimbot_silent_aim)) {
|
||||||
vec_copy(cmd->viewangles, engine_viewangles);
|
vec_copy(cmd->viewangles, engine_viewangles);
|
||||||
} else {
|
} else {
|
||||||
i_engine->SetViewAngles(engine_viewangles);
|
i_engine->SetViewAngles(engine_viewangles);
|
||||||
|
|
Loading…
Reference in New Issue