projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be996f9
)
Don't play the teamkill sound at the beginning of the next round if a player was...
author
terencehill <piuntn@gmail.com>
Wed, 8 Jul 2020 16:24:02 +0000
(18:24 +0200)
committer
terencehill <piuntn@gmail.com>
Wed, 8 Jul 2020 16:24:02 +0000
(18:24 +0200)
qcsrc/server/client.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/client.qc
b/qcsrc/server/client.qc
index
ea2a629
..
2c68728
100644
(file)
--- a/
qcsrc/server/client.qc
+++ b/
qcsrc/server/client.qc
@@
-2712,6
+2712,9
@@
void PlayerPostThink (entity this)
this.solid = SOLID_NOT;
this.takedamage = DAMAGE_NO;
set_movetype(this, MOVETYPE_NONE);
+ CS(this).teamkill_complain = 0;
+ CS(this).teamkill_soundtime = 0;
+ CS(this).teamkill_soundsource = NULL;
}
if (IS_PLAYER(this)) {