mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-13 08:27:53 +00:00
ah, turns out the TIC n debugfile print is a remnant of when Doom Legacy printed the consistancy return value... which we'll do here now too, in that case
This commit is contained in:
parent
bae55a3af4
commit
02c098574c
1 changed files with 6 additions and 1 deletions
|
@ -4077,7 +4077,7 @@ static INT16 Consistancy(void)
|
|||
mobj_t *mo;
|
||||
#endif
|
||||
|
||||
DEBFILE(va("TIC %u\n", gametic));
|
||||
DEBFILE(va("TIC %u ", gametic));
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
|
@ -4099,7 +4099,10 @@ static INT16 Consistancy(void)
|
|||
|
||||
#ifdef MOBJCONSISTANCY
|
||||
if (!thinkercap.next)
|
||||
{
|
||||
DEBFILE(va("Consistancy = %u\n", ret));
|
||||
return ret;
|
||||
}
|
||||
for (th = thinkercap.next; th != &thinkercap; th = th->next)
|
||||
{
|
||||
if (th->function.acp1 != (actionf_p1)P_MobjThinker)
|
||||
|
@ -4168,6 +4171,8 @@ static INT16 Consistancy(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
DEBFILE(va("Consistancy = %u\n", (ret & 0xFFFF)));
|
||||
|
||||
return (INT16)(ret & 0xFFFF);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue