Fix possible hitbox crash
This commit is contained in:
parent
4b1803929e
commit
44ac10880a
@ -181,6 +181,7 @@ void MoveToTick(BacktrackData data)
|
|||||||
|
|
||||||
// Mark all the hitboxes as valid so we don't recalc them and use the old data
|
// Mark all the hitboxes as valid so we don't recalc them and use the old data
|
||||||
// We already have
|
// We already have
|
||||||
|
target->hitboxes.m_CacheInternal.resize(data.hitboxes.size());
|
||||||
for (int i = hitbox_t::head; i <= foot_R; i++)
|
for (int i = hitbox_t::head; i <= foot_R; i++)
|
||||||
{
|
{
|
||||||
target->hitboxes.m_CacheValidationFlags[i] = true;
|
target->hitboxes.m_CacheValidationFlags[i] = true;
|
||||||
|
Reference in New Issue
Block a user