aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/r2server.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/r2server.h')
-rw-r--r--NorthstarDLL/r2server.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/NorthstarDLL/r2server.h b/NorthstarDLL/r2server.h
index fdfae156..58b39a05 100644
--- a/NorthstarDLL/r2server.h
+++ b/NorthstarDLL/r2server.h
@@ -7,6 +7,13 @@ namespace R2
class CBaseEntity;
extern CBaseEntity* (*Server_GetEntityByIndex)(int index);
- class CBasePlayer;
+#pragma pack(push, 1)
+ struct CBasePlayer
+ {
+ char pad[88];
+ int m_nPlayerIndex;
+ };
+#pragma pack(pop)
+
extern CBasePlayer*(__fastcall* UTIL_PlayerByIndex)(int playerIndex);
} // namespace R2