From 53d28ee65dfa9388836bebcae68d8abb7d11408d Mon Sep 17 00:00:00 2001 From: acidicoala <67734819+acidicoala@users.noreply.github.com> Date: Mon, 30 May 2022 13:48:18 +0300 Subject: [PATCH] Fixed flat functions --- src/steam_api_exports/steam_api_flat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/steam_api_exports/steam_api_flat.cpp b/src/steam_api_exports/steam_api_flat.cpp index d9c40c7..cddd24e 100644 --- a/src/steam_api_exports/steam_api_flat.cpp +++ b/src/steam_api_exports/steam_api_flat.cpp @@ -111,7 +111,7 @@ DLL_EXPORT(bool) SteamAPI_ISteamInventory_GetResultItemProperty( ) { return steam_inventory::GetResultItemProperty( __func__, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut, [&]() { - GET_ORIGINAL_VIRTUAL_FUNCTION(SteamAPI_ISteamInventory_GetResultItemProperty) + GET_ORIGINAL_FUNCTION(SteamAPI_ISteamInventory_GetResultItemProperty) return SteamAPI_ISteamInventory_GetResultItemProperty_o( self, resultHandle, unItemIndex, pchPropertyName, pchValueBuffer, punValueBufferSizeOut @@ -126,7 +126,7 @@ DLL_EXPORT(bool) SteamAPI_ISteamInventory_CheckResultSteamID( CSteamID steamIDExpected ) { return steam_inventory::CheckResultSteamID(__func__, resultHandle, steamIDExpected, [&]() { - GET_ORIGINAL_VIRTUAL_FUNCTION(SteamAPI_ISteamInventory_CheckResultSteamID) + GET_ORIGINAL_FUNCTION(SteamAPI_ISteamInventory_CheckResultSteamID) return SteamAPI_ISteamInventory_CheckResultSteamID_o(self, resultHandle, steamIDExpected); });