bumped version to 2.7.2

This commit is contained in:
jeefo 2016-01-04 20:18:14 +03:00
commit a07850d09d
3 changed files with 9 additions and 9 deletions

View file

@ -11,7 +11,7 @@
// general product information
#define PRODUCT_NAME "Yet Another POD-Bot"
#define PRODUCT_VERSION "2.7.1"
#define PRODUCT_VERSION "2.7.2"
#define PRODUCT_AUTHOR "YaPB Dev Team"
#define PRODUCT_URL "https://yapb.jeefo.net"
#define PRODUCT_EMAIL "dmitry@jeefo.net"
@ -21,7 +21,7 @@
#define PRODUCT_LEGAL "Half-Life, Counter-Strike, Counter-Strike: Condition Zero, Steam, Valve is a trademark of Valve Corporation"
#define PRODUCT_ORIGINAL_NAME "yapb.dll"
#define PRODUCT_INTERNAL_NAME "skybot"
#define PRODUCT_VERSION_DWORD_INTERNAL 2,7,1
#define PRODUCT_VERSION_DWORD_INTERNAL 2,7,2
#define PRODUCT_VERSION_DWORD PRODUCT_VERSION_DWORD_INTERNAL,0
#define PRODUCT_SUPPORT_VERSION "1.0 - CZ"
#define PRODUCT_COMMENTS "http://github.com/jeefo/yapb/"

View file

@ -54,12 +54,12 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120_xp</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>v120_xp</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />

View file

@ -2622,7 +2622,7 @@ bool Bot::CanStrafeLeft (TraceResult *tr)
TraceLine (src, left, true, GetEntity (), tr);
// check if the trace hit something...
if (tr->flFraction <= TRACE_FRACTION_EQ)
if (tr->flFraction < 1.0f)
return false; // bot's body will hit something
src = left;
@ -2632,7 +2632,7 @@ bool Bot::CanStrafeLeft (TraceResult *tr)
TraceLine (src, left, true, GetEntity (), tr);
// check if the trace hit something...
if (tr->flFraction <= TRACE_FRACTION_EQ)
if (tr->flFraction < 1.0f)
return false; // bot's body will hit something
return true;
@ -2651,7 +2651,7 @@ bool Bot::CanStrafeRight (TraceResult * tr)
TraceLine (src, right, true, GetEntity (), tr);
// check if the trace hit something...
if (tr->flFraction <= TRACE_FRACTION_EQ)
if (tr->flFraction < 1.0f)
return false; // bot's body will hit something
src = right;
@ -2661,7 +2661,7 @@ bool Bot::CanStrafeRight (TraceResult * tr)
TraceLine (src, right, true, GetEntity (), tr);
// check if the trace hit something...
if (tr->flFraction <= TRACE_FRACTION_EQ)
if (tr->flFraction < 1.0f)
return false; // bot's body will hit something
return true;
@ -2950,7 +2950,7 @@ bool Bot::IsDeadlyDrop (const Vector &to)
TraceHull (check, down, true, head_hull, GetEntity (), &tr);
if (tr.flFraction > 0.036f) // We're not on ground anymore?
if (tr.flFraction > 0.036f) // we're not on ground anymore?
tr.flFraction = 0.036f;
float lastHeight = tr.flFraction * 1000.0f; // height from ground