mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-22 10:10:49 +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
65ac9b7b0b
commit
64ceb441e3
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…
Reference in a new issue