mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix MOBJCONSISTANCY and make it optional in DEBUGMODE
MOBJCONSISTANCY checks confined to gamestate GS_LEVEL. DEBUGMODE no longer implicitly enables them, making it netgame-compatible.
This commit is contained in:
parent
5e832ece89
commit
5c9d9636b3
2 changed files with 3 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ ifdef GCC48
|
|||
else
|
||||
CFLAGS+=-O0
|
||||
endif
|
||||
CFLAGS+= -Wall -DPARANOIA -DRANGECHECK -DPACKETDROP -DMOBJCONSISTANCY
|
||||
CFLAGS+= -Wall -DPARANOIA -DRANGECHECK -DPACKETDROP
|
||||
else
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4480,6 +4480,7 @@ static INT16 Consistancy(void)
|
|||
ret += P_GetRandSeed();
|
||||
|
||||
#ifdef MOBJCONSISTANCY
|
||||
if (gamestate == GS_LEVEL) {
|
||||
for (th = thlist[THINK_MOBJ].next; th != &thlist[THINK_MOBJ]; th = th->next)
|
||||
{
|
||||
if (th->function.acp1 == (actionf_p1)P_RemoveThinkerDelayed)
|
||||
|
|
@ -4546,6 +4547,7 @@ static INT16 Consistancy(void)
|
|||
ret += mo->frame;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
DEBFILE(va("Consistancy = %u\n", (ret & 0xFFFF)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue