mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 10:28:34 +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)
|
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));
|
SetEntProp(client, Prop_Send, "m_iClass", view_as<int>(classType));
|
||||||
|
|
||||||
if (persistent)
|
if (persistent)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user