Skip to content

Commit

Permalink
Merged pull request "Fix MSVC warning 'warning C4090: '=': different …
Browse files Browse the repository at this point in the history
…'const' qualifiers'": #339
  • Loading branch information
apanteleev committed Oct 12, 2023
2 parents e04108e + 6b9e48b commit f004b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/g_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ Cmd_WeapFlare_f
void Cmd_WeapFlare_f(edict_t* ent)
{
gclient_t* cl;
gitem_t* it;
const gitem_t* it;

cl = ent->client;
if (cl->pers.weapon && strcmp(cl->pers.weapon->pickup_name, "Flare Gun") == 0) {
Expand Down

0 comments on commit f004b98

Please sign in to comment.