From c249947390c13677bbd7c5191380b146799c722b Mon Sep 17 00:00:00 2001 From: ineed bots Date: Thu, 2 May 2024 11:38:09 -0600 Subject: [PATCH] fix warning --- src/Components/Modules/Bots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Bots.cpp b/src/Components/Modules/Bots.cpp index ec63221e..974f849e 100644 --- a/src/Components/Modules/Bots.cpp +++ b/src/Components/Modules/Bots.cpp @@ -217,7 +217,7 @@ namespace Components } ZeroMemory(&g_botai[entref.entnum], sizeof(BotMovementInfo)); - g_botai[entref.entnum].weapon = ent->client->ps.weapCommon.weapon; + g_botai[entref.entnum].weapon = static_cast(ent->client->ps.weapCommon.weapon); g_botai[entref.entnum].angles[0] = ent->client->ps.viewangles[0]; g_botai[entref.entnum].angles[1] = ent->client->ps.viewangles[1]; g_botai[entref.entnum].angles[2] = ent->client->ps.viewangles[2];