Skip to content

Commit fe2819f

Browse files
authored
Fix order of IsOutOfDate and IsAnalyzed in CNavMesh (#68)
1 parent bb493fd commit fe2819f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension/sourcesdk/nav_mesh.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class CNavMesh
3333
static void SDK_OnUnload();
3434

3535
bool IsLoaded( void ) const { return *(bool*)((uint8_t*)this + offset_m_isLoaded); }
36-
bool IsAnalyzed( void ) const { return *(bool*)((uint8_t*)this + offset_m_isLoaded + 1); }
37-
bool IsOutOfDate( void ) const { return *(bool*)((uint8_t*)this + offset_m_isLoaded + 2); }
36+
bool IsOutOfDate( void ) const { return *(bool*)((uint8_t*)this + offset_m_isLoaded + 1); }
37+
bool IsAnalyzed( void ) const { return *(bool*)((uint8_t*)this + offset_m_isLoaded + 2); }
3838

3939
/**
4040
* Return true if nav mesh can be trusted for all climbing/jumping decisions because game environment is fairly simple.

product.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.15.1
1+
1.15.2

0 commit comments

Comments
 (0)