Skip to content

Commit 82e1480

Browse files
authored
Add files via upload
1 parent e304535 commit 82e1480

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/core.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ using namespace Math;
5656

5757
#include <runtime.h>
5858

59-
//#define WORK_ASYNC
59+
#define WORK_ASYNC
6060

6161
#ifdef WORK_ASYNC
6262
#include <future>
@@ -1010,6 +1010,7 @@ class Bot
10101010

10111011
int m_startAction; // team/class selection state
10121012
int m_team; // bot's team
1013+
int m_index; // bot's index
10131014
bool m_isAlive; // has the player been killed or has he just respawned
10141015
bool m_notStarted; // team/class not chosen yet
10151016

@@ -1426,7 +1427,7 @@ extern bool IsZombieMode(void);
14261427
extern bool IsDeathmatchMode(void);
14271428
extern bool IsValidWaypoint(int index);
14281429
extern bool ChanceOf(int number);
1429-
extern float Q_rsqrt(float number);
1430+
extern float Q_sqrt(float number);
14301431
extern float Clamp(float a, float b, float c);
14311432
extern float SquaredF(float a);
14321433
extern float AddTime(float time);

0 commit comments

Comments
 (0)