Skip to content

Commit

Permalink
Player name not needed in entfire
Browse files Browse the repository at this point in the history
  • Loading branch information
Vauff authored and xen-000 committed Oct 28, 2023
1 parent b448f4e commit cde35fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/adminsystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,6 @@ CON_COMMAND_CHAT_FLAGS(entfirepawn, "fire outputs at player pawns", ADMFLAG_RCON
return;
}

const char *pszCommandPlayerName = player ? player->GetPlayerName() : "Console";

variant_string_t value(args[3]);

int iFoundEnts = 0;
Expand Down Expand Up @@ -767,8 +765,6 @@ CON_COMMAND_CHAT_FLAGS(entfirecontroller, "fire outputs at player controllers",
return;
}

const char *pszCommandPlayerName = player ? player->GetPlayerName() : "Console";

variant_string_t value(args[3]);

int iFoundEnts = 0;
Expand Down

0 comments on commit cde35fa

Please sign in to comment.