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];