mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
Hope this fixes mp lags
This commit is contained in:
parent
dcc950378e
commit
d2c9734e9c
2 changed files with 2 additions and 2 deletions
|
@ -8339,7 +8339,6 @@ MAIN_LOOP_RESTART:
|
||||||
double const gameUpdateStartTime = timerGetHiTicks();
|
double const gameUpdateStartTime = timerGetHiTicks();
|
||||||
if (((g_netClient || g_netServer) || !(g_player[myconnectindex].ps->gm & (MODE_MENU|MODE_DEMO))) && totalclock >= ototalclock+TICSPERFRAME)
|
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 (g_networkMode != NET_DEDICATED_SERVER)
|
||||||
//{
|
//{
|
||||||
// if (RRRA && g_player[myconnectindex].ps->on_motorcycle)
|
// if (RRRA && g_player[myconnectindex].ps->on_motorcycle)
|
||||||
|
@ -8359,6 +8358,7 @@ MAIN_LOOP_RESTART:
|
||||||
timerUpdate();
|
timerUpdate();
|
||||||
|
|
||||||
if (ready2send == 0) break;
|
if (ready2send == 0) break;
|
||||||
|
Net_GetInput();
|
||||||
|
|
||||||
ototalclock += TICSPERFRAME;
|
ototalclock += TICSPERFRAME;
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ G_EXTERN fix16_t myhoriz, omyhoriz, myhorizoff, omyhorizoff, myang, omyang;
|
||||||
G_EXTERN int16_t mycursectnum, myjumpingcounter;
|
G_EXTERN int16_t mycursectnum, myjumpingcounter;
|
||||||
G_EXTERN uint8_t myjumpingtoggle, myonground, myhardlanding, myreturntocenter;
|
G_EXTERN uint8_t myjumpingtoggle, myonground, myhardlanding, myreturntocenter;
|
||||||
G_EXTERN int16_t my_moto_speed;
|
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 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 int16_t my_moto_bump, my_moto_bump_target, my_moto_turb;
|
||||||
G_EXTERN int32_t my_stairs;
|
G_EXTERN int32_t my_stairs;
|
||||||
|
|
Loading…
Reference in a new issue