From dc95eab89032aa72525533b29d2c4df89601d0b0 Mon Sep 17 00:00:00 2001 From: FortyTwoFortyTwo Date: Wed, 27 Oct 2021 16:22:04 +0100 Subject: [PATCH] Fix compile from master branch changes --- core/logic/smn_sorting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/logic/smn_sorting.cpp b/core/logic/smn_sorting.cpp index affd2a7b4..97cf6158f 100644 --- a/core/logic/smn_sorting.cpp +++ b/core/logic/smn_sorting.cpp @@ -495,7 +495,7 @@ static int sort2d_amx_custom(const void *elem1, const void *elem2) g_SortInfo.pFunc->PushCell(iv1); g_SortInfo.pFunc->PushCell(iv2); g_SortInfo.pFunc->PushCell(g_SortInfo.array_addr); - g_SortInfo.pFunc->PushCell(g_SortInfo.hndl); + g_SortInfo.pFunc->PushCell(g_SortInfo.data); g_SortInfo.pFunc->Invoke(&result); return result; @@ -522,7 +522,7 @@ static cell_t sm_SortCustom2D(IPluginContext *pContext, const cell_t *params) DetectExceptions eh(pContext); g_SortInfo.pFunc = pFunction; - g_SortInfo.hndl = params[4]; + g_SortInfo.data = params[4]; g_SortInfo.array_addr = params[1]; g_SortInfo.eh = &eh;