mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix MAXMOM being above the max value GZT_MOM* could store
This caused a lot of """desyncs""" when players were moving between 128-255 FU/T, which was exacerbated by this next commit...
This commit is contained in:
parent
3a96ee70af
commit
62281de40a
1 changed files with 1 additions and 1 deletions
|
|
@ -5258,7 +5258,7 @@ void G_WriteGhostTic(mobj_t *ghost, INT32 playernum)
|
|||
|
||||
ziptic_p = demo_p++; // the ziptic, written at the end of this function
|
||||
|
||||
#define MAXMOM (0xFFFF<<8)
|
||||
#define MAXMOM (0x7FFF<<8)
|
||||
|
||||
// GZT_XYZ is only useful if you've moved 256 FRACUNITS or more in a single tic.
|
||||
if (abs(ghost->x-oldghost[playernum].x) > MAXMOM
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue