Set proper typed places for SteamWorks_HasLicenseForApp.

This commit is contained in:
Kyle Sanderson
2015-04-03 21:26:21 -07:00
parent abc9d9d7f5
commit bfba2d09ff
+1 -1
View File
@@ -175,7 +175,7 @@ static cell_t sm_UserHasLicenseForApp(IPluginContext *pContext, const cell_t *pa
return pContext->ThrowNativeError("Client index %d is invalid", params[1]); return pContext->ThrowNativeError("Client index %d is invalid", params[1]);
} }
CSteamID checkid = CreateCommonCSteamID(pPlayer, params); CSteamID checkid = CreateCommonCSteamID(pPlayer, params, 3, 4);
return pServer->UserHasLicenseForApp(checkid, params[2]); return pServer->UserHasLicenseForApp(checkid, params[2]);
} }