mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-09 19:38:25 +00:00
Merge branch 'master' into reorg
This commit is contained in:
commit
6325212dfb
@ -878,6 +878,13 @@ void CleanSwitchTeam(int client, int team)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Remove flashlight :)
|
||||||
|
if (gEV_Type == Engine_CSS)
|
||||||
|
{
|
||||||
|
int EF_DIMLIGHT = 4;
|
||||||
|
SetEntProp(client, Prop_Send, "m_fEffects", ~EF_DIMLIGHT & GetEntProp(client, Prop_Send, "m_fEffects"));
|
||||||
|
}
|
||||||
|
|
||||||
ChangeClientTeam(client, team);
|
ChangeClientTeam(client, team);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user