summaryrefslogtreecommitdiff
path: root/src/fpsgame/fps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fpsgame/fps.cpp')
-rw-r--r--src/fpsgame/fps.cpp5
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);