Skip to content

Commit

Permalink
Update src/sv_bots.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: proxict <bobogu@protonmail.com>
  • Loading branch information
ineedbots and proxict authored Dec 16, 2023
1 parent dfe79fb commit 73f5811
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sv_bots.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,7 @@ qboolean shouldSpamUseButton(gentity_t *bot)

void Bot_SetBotWeapon(int clientNum, unsigned int weaponIdx)
{
::byte weapInt;

weapInt = static_cast<::byte>(weaponIdx);

g_botai[clientNum].weapon = weapInt;
g_botai[clientNum].weapon = static_cast<::byte>(weaponIdx);
}

}

1 comment on commit 73f5811

@chief0x
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I specifically download this and build the source code for our server?

Please sign in to comment.