From 4af22ede90d8747129063ae2eb7ecc3173696489 Mon Sep 17 00:00:00 2001 From: Marvin D <41352111+IcePixelx@users.noreply.github.com> Date: Wed, 9 Nov 2022 23:37:33 +0100 Subject: [PATCH] fix compilation. --- 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 75a3d1d9..f8929391 100644 --- a/r5dev/game/server/ai_utility.cpp +++ b/r5dev/game/server/ai_utility.cpp @@ -98,7 +98,7 @@ bool Detour_IsLoaded() } } - assert(i <= MAX_HULLS); + assert(ret <= MAX_HULLS); return (ret != MAX_HULLS); }