mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Enable the thinker of NOTHINK...
OK so we kind of need NOTHINK objects to still think because otherwise they can never update their interpolation values. This should probably replaced with some other kind of system, consider this temporary... (MF_NOTHINK is still mostly covered by a very early return in MobjThinker, if you're unaware, just means this might have to waste the extra time iterating through them...)
This commit is contained in:
parent
225590b7ba
commit
a8d5a949ae
1 changed files with 6 additions and 0 deletions
|
|
@ -9930,7 +9930,13 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type)
|
|||
}
|
||||
}
|
||||
|
||||
// OK so we kind of need NOTHINK objects to still think
|
||||
// because otherwise they can never update their
|
||||
// interpolation values. They might need some other kind
|
||||
// of system, so consider this temporary...
|
||||
#if 0
|
||||
if (!(mobj->flags & MF_NOTHINK))
|
||||
#endif
|
||||
P_AddThinker(THINK_MOBJ, &mobj->thinker);
|
||||
|
||||
if (mobj->skin) // correct inadequecies above.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue