From 1174989fcc62bfc6edfe9ae41926050d55c80129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=A1=D1=83=D1=85=D0=BE=D0=B2?= <22411953+Vladislav4KZ@users.noreply.github.com> Date: Tue, 16 Apr 2024 12:02:38 +0000 Subject: [PATCH] fix: indefinite article in cvar description (**an** should be used before the vowel, and the article **a** is used before consonant.) --- cfg/addons/yapb/conf/yapb.cfg | 2 +- src/combat.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cfg/addons/yapb/conf/yapb.cfg b/cfg/addons/yapb/conf/yapb.cfg index adbda2b..082424d 100644 --- a/cfg/addons/yapb/conf/yapb.cfg +++ b/cfg/addons/yapb/conf/yapb.cfg @@ -292,7 +292,7 @@ yb_check_enemy_invincibility "0" yb_stab_close_enemies "1" // -// Use engine to check potential visibility of a enemy. +// Use engine to check potential visibility of an enemy. // --- // Default: "0", Min: "0", Max: "1" // diff --git a/src/combat.cpp b/src/combat.cpp index 4d923d8..d725c01 100644 --- a/src/combat.cpp +++ b/src/combat.cpp @@ -12,7 +12,7 @@ ConVar cv_ignore_enemies ("ignore_enemies", "0", "Enables or disables searching ConVar cv_check_enemy_rendering ("check_enemy_rendering", "0", "Enables or disables checking enemy rendering flags. Useful for some mods."); ConVar cv_check_enemy_invincibility ("check_enemy_invincibility", "0", "Enables or disables checking enemy invincibility. Useful for some mods."); ConVar cv_stab_close_enemies ("stab_close_enemies", "1", "Enables or disables bot ability to stab the enemy with knife if bot is in good condition."); -ConVar cv_use_engine_pvs_check ("use_engine_pvs_check", "0", "Use engine to check potential visibility of a enemy."); +ConVar cv_use_engine_pvs_check ("use_engine_pvs_check", "0", "Use engine to check potential visibility of an enemy."); ConVar mp_friendlyfire ("mp_friendlyfire", nullptr, Var::GameRef); ConVar sv_gravity ("sv_gravity", nullptr, Var::GameRef);