summaryrefslogtreecommitdiff
path: root/internal_rewrite/IClientEntityList.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/IClientEntityList.hpp')
-rw-r--r--internal_rewrite/IClientEntityList.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal_rewrite/IClientEntityList.hpp b/internal_rewrite/IClientEntityList.hpp
index ff33417..d6a65e4 100644
--- a/internal_rewrite/IClientEntityList.hpp
+++ b/internal_rewrite/IClientEntityList.hpp
@@ -88,6 +88,9 @@ public:
int GetIndex( ) {
if( !this ) return 0;
+ // no vfunc :>
+ return *reinterpret_cast< int* >( this + 0x64 );
+
return GetClientNetworkable( )->EntIndex( );
}