From 658bd82689b42b10b1bd66dd204e45f01f88cde6 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:18:21 +0100 Subject: [PATCH] timeline v1 fix --- dll/steam_client_interface_getter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/steam_client_interface_getter.cpp b/dll/steam_client_interface_getter.cpp index 74f68700..fabe3b1e 100644 --- a/dll/steam_client_interface_getter.cpp +++ b/dll/steam_client_interface_getter.cpp @@ -37,9 +37,10 @@ ISteamTimeline *Steam_Client::GetISteamTimeline( HSteamUser hSteamUser, HSteamPi PRINT_DEBUG("%s", pchVersion); if (!steam_pipes.count(hSteamPipe) || !hSteamUser) return nullptr; - if (strcmp(pchVersion, "STEAMTIMELINE_INTERFACE_VERSION001") == 0) { + if (strcmp(pchVersion, "STEAMTIMELINE_INTERFACE_V001") == 0) { return reinterpret_cast(static_cast(steam_timeline)); } + // Todo: Add non existing but reversed v2-v3 else if (strcmp(pchVersion, STEAMTIMELINE_INTERFACE_VERSION) == 0) { return reinterpret_cast(static_cast(steam_timeline)); }