Skip to content

Commit

Permalink
SyPB Beta 1.48 Available - Bugs Fixed
Browse files Browse the repository at this point in the history
SyPB Beta 1.48 Available - Bugs Fixed
(Build: 1.48.50576.699 )

SyPB API 1.48 Available
(Build: 1.48.50576.49)

SwNPC Beta 1.48 Available
(Build: 1.48.50576.121 )

(28/1/2017)
  • Loading branch information
CCNHsK-Dev committed Jan 28, 2017
1 parent 0ec3280 commit b0634f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions sypb_src/include/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@
#define RESOURCE_INCLUDED

// This is test version?
//#define PRODUCT_DEV_VERSION
// #define PRODUCT_DEV_VERSION

#if defined(PRODUCT_DEV_VERSION)
#define PRODUCT_DEV_VERSION_FORTEST "(PRV)"
//#define PRODUCT_DEV_VERSION_FORTEST "(DEV)"
//#define PRODUCT_DEV_VERSION_FORTEST "(Preview-2)"
// Dev Version Date
#define PV_VERSION_YEAR 2017
#define PV_VERSION_MON 1
#define PV_VERSION_DAY 28
#define PV_VERSION_MON 2
#define PV_VERSION_DAY 10
#else
#define PRODUCT_DEV_VERSION_FORTEST ""
#endif
Expand Down
Binary file modified sypb_src/project/sypb_debug/sypb.dll
Binary file not shown.
12 changes: 5 additions & 7 deletions sypb_src/source/basecode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2661,14 +2661,12 @@ bool Bot::ReactOnEnemy(void)
m_isEnemyReachable = false;
if (m_navNode == null)
m_isEnemyReachable = true;
else
else if (pathDist <= 600.0f)
{
if (pathDist <= 700.0f)
{
// SyPB Pro P.48 - Zombie Mode Human Action improve
if (g_waypoint->GetPathDistanceFloat(m_navNode->next->index, enemyIndex) < pathDist)
m_isEnemyReachable = true;
}
// SyPB Pro P.48 - Zombie Mode Human Action improve
if (m_navNode->next == null ||
g_waypoint->GetPathDistanceFloat(m_navNode->next->index, enemyIndex) < pathDist)
m_isEnemyReachable = true;
}
}
else
Expand Down

0 comments on commit b0634f9

Please sign in to comment.