Fix linux compile with latest SDK

This needs some cleanup still for non-TF2
This commit is contained in:
Asher Baker
2017-10-26 13:57:38 +01:00
parent f557476d6b
commit 3b9e6208ea
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ public:
unsigned short port;
} netadr_t;
char *CSteamID::Render() const
const char *CSteamID::Render() const
{
static char szSteamID[64];
V_snprintf(szSteamID, sizeof(szSteamID), "STEAM_0:%u:%u", (m_unAccountID % 2) ? 1 : 0, (int32)m_unAccountID/2);
+10
View File
@@ -461,5 +461,15 @@ void operator delete[](void * ptr)
{
free(ptr);
}
void operator delete(void *ptr, size_t size)
{
free(ptr);
}
void operator delete[](void * ptr, size_t size)
{
free(ptr);
}
#endif