summaryrefslogtreecommitdiff
path: root/internal_rewrite/IClientEntityList.hpp
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-09-14 20:23:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-09-14 20:23:54 +0200
commitb4748901d34d26bee517dea9655d2c0362c627f0 (patch)
tree911dfd98e52727a2a6bdccef028ce982d8fadbca /internal_rewrite/IClientEntityList.hpp
parent7800db47f2cd00c4c01b002d85ec2c4c61e578e4 (diff)
pAutowall
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( );
}