mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Fix unused parameter warning in TF2_SetPlayerClass (#2176)
This commit is contained in:
parent
96727a7610
commit
dd3409bb9b
@ -399,6 +399,7 @@ stock TFClassType TF2_GetPlayerClass(int client)
|
||||
*/
|
||||
stock void TF2_SetPlayerClass(int client, TFClassType classType, bool weapons=true, bool persistent=true)
|
||||
{
|
||||
#pragma unused weapons
|
||||
SetEntProp(client, Prop_Send, "m_iClass", view_as<int>(classType));
|
||||
|
||||
if (persistent)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user