diff options
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/server/srv_ctf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/srv_ctf.cpp b/src/game/server/srv_ctf.cpp index 0046b83e..2ff4e2df 100644 --- a/src/game/server/srv_ctf.cpp +++ b/src/game/server/srv_ctf.cpp @@ -47,6 +47,7 @@ int gameobject_ctf::on_player_death(class player *victim, class player *killer, create_sound_global(SOUND_CTF_DROP); f->drop_tick = server_tick(); f->carrying_player = 0; + f->vel = vec2(0,0); if(killer && killer->team != victim->team) killer->score++; @@ -159,6 +160,7 @@ void flag::reset() carrying_player = 0; at_stand = 1; pos = stand_pos; + vel = vec2(0,0); } void flag::snap(int snapping_client) |