From 62f08a31fce8df0201b3c2142e3e4fca6ee09235 Mon Sep 17 00:00:00 2001 From: FortyTwoFortyTwo Date: Wed, 27 Oct 2021 12:04:05 +0100 Subject: [PATCH] Fix compiling with tf2_stocks --- plugins/include/tf2_stocks.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/tf2_stocks.inc b/plugins/include/tf2_stocks.inc index a88601a9..71303325 100644 --- a/plugins/include/tf2_stocks.inc +++ b/plugins/include/tf2_stocks.inc @@ -431,7 +431,7 @@ stock int TF2_GetPlayerResourceData(int client, TFResourceType type) return -1; } - int entity = TF2_GetResourceEntity(); + int entity = GetPlayerResourceEntity(); if (entity == -1) { @@ -468,7 +468,7 @@ stock bool TF2_SetPlayerResourceData(int client, TFResourceType type, any value) return false; } - int entity = TF2_GetResourceEntity(); + int entity = GetPlayerResourceEntity(); if (entity == -1) {