Fix damage (#1051)

This commit is contained in:
deadw1nter 2021-05-24 13:25:28 +08:00 committed by GitHub
parent fc37d22f1d
commit a7c2e66559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1505,7 +1505,7 @@ void ResetCheckpoints(int client)
gI_CurrentCheckpoint[client] = 0;
}
public Action OnTakeDamage(int victim, int attacker)
public Action OnTakeDamage(int victim, int& attacker)
{
if(gB_Hide[victim] || gCV_GodMode.IntValue >= 2)
{