Merge pull request #6 from VoiDeD/register-library

Register as a library to support the SteamWorks extension as an optional...
This commit is contained in:
KyleSanderson
2014-04-05 13:41:06 -06:00
+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;