diff options
| author | xolatile | 2025-08-10 00:19:46 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-10 00:19:46 +0200 |
| commit | 757096e7df15c14b9b10352fa91663483f9e34f8 (patch) | |
| tree | dcad789d0abd8be76463277dc01bf32c4e6a527b /src/fpsgame/fps.cpp | |
| parent | b2c89d7060e99a36c8c7ac897b7386686c74deac (diff) | |
| download | xolatile-badassbug-757096e7df15c14b9b10352fa91663483f9e34f8.tar.xz xolatile-badassbug-757096e7df15c14b9b10352fa91663483f9e34f8.tar.zst | |
all
Diffstat (limited to 'src/fpsgame/fps.cpp')
| -rw-r--r-- | src/fpsgame/fps.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fpsgame/fps.cpp b/src/fpsgame/fps.cpp index eadb2c8..d167582 100644 --- a/src/fpsgame/fps.cpp +++ b/src/fpsgame/fps.cpp @@ -353,7 +353,7 @@ namespace game { } } deathstate(d); - ai::killed(d, actor); + ai::killed(d); } void timeupdate(int secs) { server::timeupdate(secs); @@ -411,7 +411,6 @@ namespace game { if(notify && d->name[0]) conoutf("\f4leave:\f7 %s", colorname(d)); removeweapons(d); removetrackedparticles(d); - removetrackeddynlights(d); players.removeobj(d); DELETEP(clients[cn]); cleardynentcache(); @@ -527,7 +526,7 @@ namespace game { } VARP(teamsounds, 0, 1, 1); void teamsound(bool sameteam, int n, const vec *loc) { - playsound(n, loc, NULL, teamsounds ? (m_teammode && sameteam ? SND_USE_ALT : SND_NO_ALT) : 0); + playsound(n, loc, NULL); } void teamsound(fpsent *d, int n, const vec *loc) { teamsound(isteam(d->team, player1->team), n, loc); |
