diff --git a/core/HalfLife2.cpp b/core/HalfLife2.cpp index b0818272..822e198c 100644 --- a/core/HalfLife2.cpp +++ b/core/HalfLife2.cpp @@ -157,6 +157,7 @@ void CHalfLife2::OnSourceModAllInitialized_Post() m_CSGOBadList.add("m_flFallbackWear"); m_CSGOBadList.add("m_nFallbackStatTrak"); m_CSGOBadList.add("m_iCompetitiveRanking"); + m_CSGOBadList.add("m_iCompetitiveRankType"); m_CSGOBadList.add("m_nActiveCoinRank"); m_CSGOBadList.add("m_nMusicID"); #endif diff --git a/extensions/sdktools/vnatives.cpp b/extensions/sdktools/vnatives.cpp index f3f581dd..280c199a 100644 --- a/extensions/sdktools/vnatives.cpp +++ b/extensions/sdktools/vnatives.cpp @@ -149,7 +149,7 @@ static cell_t GiveNamedItem(IPluginContext *pContext, const cell_t *params) char *pWeaponName; pContext->LocalToString(params[2], &pWeaponName); - // Don't allow knives other than weapon_knife, weapon_knifegg, and wewapon_knife_t. + // Don't allow knives other than weapon_knife, weapon_knifegg, and weapon_knife_t. // Others follow pattern weapon_knife_* size_t len = strlen(pWeaponName); if (len >= 14 && strnicmp(pWeaponName, "weapon_knife_", 13) == 0 && !(pWeaponName[13] == 't' && pWeaponName[14] == '\0'))