Skip to content

Commit 66c7824

Browse files
authored
Remove entity type check (PR #2290)
1 parent 0533f2c commit 66c7824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CPacketHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4135,7 +4135,7 @@ void CPacketHandler::Packet_EntityAdd(NetBitStreamInterface& bitStream)
41354135
pTempEntity->SetParent(pParent);
41364136
}
41374137

4138-
if (TempAttachedToID != INVALID_ELEMENT_ID && pTempEntity->GetType() != CCLIENTPLAYER)
4138+
if (TempAttachedToID != INVALID_ELEMENT_ID)
41394139
{
41404140
CClientEntity* pAttachedToEntity = CElementIDs::GetElement(TempAttachedToID);
41414141
if (pAttachedToEntity)

0 commit comments

Comments
 (0)