From 152a86f6f49a5c8c6c1ed1585be3bbb9bc52bf16 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 29 Nov 2016 11:05:39 -0500 Subject: [PATCH] Fix CS:GO OnGetWeaponPrice forward on Linux. --- extensions/cstrike/forwards.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/cstrike/forwards.cpp b/extensions/cstrike/forwards.cpp index c89d53f1..6b0e2dc6 100644 --- a/extensions/cstrike/forwards.cpp +++ b/extensions/cstrike/forwards.cpp @@ -207,7 +207,7 @@ bool CreateWeaponPriceDetour() } } -#if SOURCE_ENGINE == SE_CSGO && defined(WIN32) +#if SOURCE_ENGINE == SE_CSGO void *pGetWeaponPriceAddress = GetWeaponPriceFunction(); if(!pGetWeaponPriceAddress)