fix weapon_sg550 (#624)

* fix first shot weapon_sg550
This commit is contained in:
Vaqtincha 2021-05-16 14:19:02 +05:00 committed by GitHub
parent e86284b08c
commit 64059d1026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@ void CSG550::Spawn()
m_flLastFire = 0;
#ifdef REGAMEDLL_FIXES
m_flAccuracy = 0.2f;
m_flAccuracy = 0.9f;
#endif
#ifdef REGAMEDLL_API
@ -62,7 +62,7 @@ int CSG550::GetItemInfo(ItemInfo *p)
BOOL CSG550::Deploy()
{
#ifdef REGAMEDLL_FIXES
m_flAccuracy = 0.2f;
m_flAccuracy = 0.9f;
#endif
return DefaultDeploy("models/v_sg550.mdl", "models/p_sg550.mdl", SG550_DRAW, "rifle", UseDecrement() != FALSE);

View File

@ -809,7 +809,6 @@
<ProjectGuid>{70A2B904-B7DB-4C48-8DE0-AF567360D572}</ProjectGuid>
<RootNamespace>ReGameDLL</RootNamespace>
<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">