return;
}
- if( !network_client.remote ){
+ if( !network_connected() ){
sfd_encode( 4, "Offline" );
return;
}
struct leaderboard_cache *board = &world->leaderboard_cache[ closest ];
/* request new board if cache expires */
- if( network_client.remote ){
+ if( network_connected() ){
f64 delta = vg.time_real - board->cache_time;
if( (delta > 45.0) || (board->cache_time == 0.0) ){
board->cache_time = vg.time_real;
float *target = &world_sfd.buffer[i*2+0],
*cur = &world_sfd.buffer[i*2+1];
- float const rate = vg.time_delta * 15.2313131414f;
+ float const rate = vg.time_delta * 25.2313131414f;
float d1 = *target-*cur;
if( fabsf(d1) > rate ){