Skip to content

Commit d651841

Browse files
committed
Fixed #9389 (MTA updates position very slowly for attached elements to element)
1 parent 71dd957 commit d651841

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Client/mods/deathmatch/logic/CClientObject.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,14 @@ void CClientObject::StreamedInPulse ( void )
633633

634634
UpdateVisibility ();
635635
}
636+
else
637+
{
638+
// Fixed attachment bug #9339 where [object1] -> [object2] -> [vehicle] causes positional lag for [object1]
639+
if ( m_pAttachedToEntity && m_pAttachedToEntity->GetAttachedTo() )
640+
{
641+
DoAttaching ();
642+
}
643+
}
636644

637645
// Are we not frozen
638646
if ( !m_bIsFrozen )

0 commit comments

Comments
 (0)