Hope this fixes mp lags

This commit is contained in:
nukeykt 2019-07-04 23:43:39 +09:00 committed by Christoph Oelckers
parent dcc950378e
commit d2c9734e9c
2 changed files with 2 additions and 2 deletions

View file

@ -8339,7 +8339,6 @@ MAIN_LOOP_RESTART:
double const gameUpdateStartTime = timerGetHiTicks();
if (((g_netClient || g_netServer) || !(g_player[myconnectindex].ps->gm & (MODE_MENU|MODE_DEMO))) && totalclock >= ototalclock+TICSPERFRAME)
{
Net_GetInput();
//if (g_networkMode != NET_DEDICATED_SERVER)
//{
// if (RRRA && g_player[myconnectindex].ps->on_motorcycle)
@ -8359,6 +8358,7 @@ MAIN_LOOP_RESTART:
timerUpdate();
if (ready2send == 0) break;
Net_GetInput();
ototalclock += TICSPERFRAME;

View file

@ -109,7 +109,7 @@ G_EXTERN fix16_t myhoriz, omyhoriz, myhorizoff, omyhorizoff, myang, omyang;
G_EXTERN int16_t mycursectnum, myjumpingcounter;
G_EXTERN uint8_t myjumpingtoggle, myonground, myhardlanding, myreturntocenter;
G_EXTERN int16_t my_moto_speed;
G_EXTERN uint8_t my_moto_underwater, my_not_on_water, my_moto_on_ground;
G_EXTERN uint8_t my_not_on_water, my_moto_on_ground;
G_EXTERN uint8_t my_moto_do_bump, my_moto_bump_fast, my_moto_on_oil, my_moto_on_mud;
G_EXTERN int16_t my_moto_bump, my_moto_bump_target, my_moto_turb;
G_EXTERN int32_t my_stairs;