aboutsummaryrefslogtreecommitdiff
path: root/mp/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/common')
-rw-r--r--mp/src/common/userid.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/mp/src/common/userid.h b/mp/src/common/userid.h
index 7882bc0b..6152f207 100644
--- a/mp/src/common/userid.h
+++ b/mp/src/common/userid.h
@@ -11,8 +11,11 @@
#pragma once
#endif
+#include "strtools.h"
+#include "steam/steamclientpublic.h"
#if !defined( INCLUDED_STEAM_STEAMUSERIDTYPES_H )
- #include "SteamCommon.h"
+#define INCLUDED_STEAM2_USERID_STRUCTS
+#include "SteamCommon.h"
#endif
#define IDTYPE_WON 0
@@ -23,13 +26,7 @@
typedef struct USERID_s
{
int idtype;
-
- union
- {
- TSteamGlobalUserID steamid;
- } uid;
-
-// unsigned int clientip;
+ CSteamID steamid;
} USERID_t;
#endif // USERID_H