From d76661b3be30a78203438d53bd91657006d930a9 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Mon, 4 Feb 2008 00:13:34 +0000 Subject: console now has proper backlog and command history. kill command added. predicted hooks no longer make a sound when hitting a player. --- src/game/client/gc_client.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/game/client/gc_client.cpp') diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index 79b50317..7032637f 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -334,6 +334,14 @@ void send_emoticon(int emoticon) client_send_msg(); } +void send_kill(int client_id) +{ + msg_pack_start(MSG_KILL, MSGFLAG_VITAL); + msg_pack_int(client_id); + msg_pack_end(); + client_send_msg(); +} + void anim_seq_eval(sequence *seq, float time, keyframe *frame) { if(seq->num_frames == 0) -- cgit 1.4.1