mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-07 08:51:40 +00:00
Merge branch 'sonicitems' of https://git.magicalgirl.moe/KartKrew/Kart into sonicitems
This commit is contained in:
commit
cbfa6bbe83
1 changed files with 65 additions and 62 deletions
|
@ -4345,7 +4345,7 @@ static INT16 Consistancy(void)
|
|||
{
|
||||
if (!playeringame[i])
|
||||
ret ^= 0xCCCC;
|
||||
else if (!players[i].mo);
|
||||
else if (!players[i].mo || gamestate != GS_LEVEL);
|
||||
else
|
||||
{
|
||||
ret += players[i].mo->x;
|
||||
|
@ -4356,7 +4356,7 @@ static INT16 Consistancy(void)
|
|||
}
|
||||
// I give up
|
||||
// Coop desynching enemies is painful
|
||||
if (!G_RaceGametype())
|
||||
if (gamestate == GS_LEVEL)
|
||||
ret += P_GetRandSeed();
|
||||
|
||||
#ifdef MOBJCONSISTANCY
|
||||
|
@ -4365,6 +4365,8 @@ static INT16 Consistancy(void)
|
|||
DEBFILE(va("Consistancy = %u\n", ret));
|
||||
return ret;
|
||||
}
|
||||
if (gamestate == GS_LEVEL)
|
||||
{
|
||||
for (th = thinkercap.next; th != &thinkercap; th = th->next)
|
||||
{
|
||||
if (th->function.acp1 != (actionf_p1)P_MobjThinker)
|
||||
|
@ -4431,6 +4433,7 @@ static INT16 Consistancy(void)
|
|||
ret += mo->frame;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
DEBFILE(va("Consistancy = %u\n", (ret & 0xFFFF)));
|
||||
|
|
Loading…
Reference in a new issue