medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 56d642b36cad084949ad73a445228fa9e321bccf
parent 933fa8f562e2dea7d3ee0f258a95c0dd43fa1acc
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Thu Dec 29 14:18:05 +0200

Send our actual position when we try to connect

Diffstat:
hm.cc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hm.cc b/hm.cc @@ -376,10 +376,9 @@ extern "C" GAME_FRAME( game_frame ) { if( !connected && current_time - last_connection_attempt > 1.0 ) { char write_buf[ 1400 ]; WriteStream ws( write_buf ); - v3 pos( 1, 2, 3 ); write_u64( &ws, -1 ); - write( &ws, pos ); + write( &ws, game->pos ); sock_send_udp( sock, ws, addr );