diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-09-25 21:53:14 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-09-25 21:53:14 +0000 |
| commit | dbf425f1aa767de7f6415b45d1321d8dd6c05e97 (patch) | |
| tree | 7ab92e9c5bae5f914e814746c203b4bdc4ef44bd /src/game/client/game_client.cpp | |
| parent | a554203943cde311a93090805b40f3d39ccc75d2 (diff) | |
| download | zcatch-dbf425f1aa767de7f6415b45d1321d8dd6c05e97.tar.gz zcatch-dbf425f1aa767de7f6415b45d1321d8dd6c05e97.zip | |
updated ctf a bit
Diffstat (limited to 'src/game/client/game_client.cpp')
| -rw-r--r-- | src/game/client/game_client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 983a84b6..aad2ed27 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -731,6 +731,7 @@ extern "C" void modc_newsnapshot() if((client_tick()%250) == 0) { msg_pack_start(MSG_SAY, MSGFLAG_VITAL); + msg_pack_int(-1); msg_pack_string("galenskap!!!!", 512); msg_pack_end(); client_send_msg(); @@ -1654,6 +1655,7 @@ void render_game() else { msg_pack_start(MSG_SAY, MSGFLAG_VITAL); + msg_pack_int(-1); msg_pack_string(chat_input, 512); msg_pack_end(); client_send_msg(); @@ -2177,6 +2179,7 @@ extern "C" void modc_message(int msg) if(msg == MSG_CHAT) { int cid = msg_unpack_int(); + int targets = msg_unpack_int(); const char *message = msg_unpack_string(); dbg_msg("message", "chat cid=%d msg='%s'", cid, message); chat_add_line(cid, message); |