add network view for glider
[carveJwlIkooP6JGAAIwe30JlM.git] / gameserver.c
index a93d705abc32204e2c5218f000f6545dec92c94b..5bbb8ae9685dbaace02f02bf1e1430c349c64d27 100644 (file)
@@ -10,7 +10,6 @@
 volatile sig_atomic_t sig_stop;
 
 #include "gameserver.h" 
-#include "highscores.c"
 #include "vg/vg_opt.h"
 #include "network_common.h"
 #include "gameserver_db.h"
@@ -516,7 +515,7 @@ static void gameserver_propogate_player_frame( int client_id,
    basic->sound_effects = 0;
 
    struct gameserver_client *c0 = &gameserver.clients[client_id];
-   c0->instance = frame->instance_id;
+   c0->instance = frame->flags & NETMSG_PLAYERFRAME_INSTANCE_ID;
 
    for( int i=0; i<vg_list_size(gameserver.clients); i++ ){
       if( i == client_id )