From ad66236a90cad830b69ab62a81eec7ee2de4b556 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Thu, 23 Feb 2023 23:47:58 +0100 Subject: [PATCH] Fix compile error Var was renamed. --- r5dev/game/server/ai_utility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/game/server/ai_utility.cpp b/r5dev/game/server/ai_utility.cpp index c76edc15..5909e7fb 100644 --- a/r5dev/game/server/ai_utility.cpp +++ b/r5dev/game/server/ai_utility.cpp @@ -53,7 +53,7 @@ void ClearNavMeshForHull(int hullSize) //----------------------------------------------------------------------------- uint32_t GetHullMaskById(int hullId) { - Assert(hullId >= NULL && hullId < SDK_ARRAYSIZE(g_pHullMasks)); // Programmer error. + Assert(hullId >= NULL && hullId < SDK_ARRAYSIZE(g_HullMasks)); // Programmer error. return (hullId + g_HullMasks[hullId]); }