Register as a library to support the SteamWorks extension as an optional dependency.

This commit is contained in:
Ryan Stecker
2014-04-05 14:40:28 -05:00
parent 3c6fb17454
commit 313a8ffaa1
+2
View File
@@ -43,6 +43,8 @@ SMEXT_LINK(&g_SteamWorks);
bool SteamWorks::SDK_OnLoad(char *error, size_t maxlength, bool late)
{
sharesys->RegisterLibrary(myself, "SteamWorks");
this->pSWGameData = new SteamWorksGameData;
this->pSWGameServer = new SteamWorksGameServer;
this->pSWHTTP = new SteamWorksHTTP;