Skip to content

Commit 8ee58fd

Browse files
committed
Allow targeting zombies with !give
1 parent 83acdf3 commit 8ee58fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/adminsystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ CON_COMMAND_CHAT_FLAGS(give, "<name> <weapon> - Give a weapon/item to a player",
10981098
int pSlots[MAXPLAYERS];
10991099
ETargetType nType;
11001100

1101-
if (!g_playerManager->CanTargetPlayers(player, args[1], iNumClients, pSlots, NO_DEAD | NO_SPECTATOR | NO_TERRORIST, nType))
1101+
if (!g_playerManager->CanTargetPlayers(player, args[1], iNumClients, pSlots, NO_DEAD | NO_SPECTATOR, nType))
11021102
return;
11031103

11041104
const char* pszCommandPlayerName = player ? player->GetPlayerName() : CONSOLE_NAME;

0 commit comments

Comments
 (0)