Skip to content

Commit f5a7596

Browse files
committed
fix ifp typo
1 parent 058ba77 commit f5a7596

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Client/mods/deathmatch/logic/CClientIFP.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,8 @@ std::int32_t CClientIFP::ReadSequenceVersion1(SAnim& Anim)
236236
RoundSize(Anim.Base.Size);
237237
ReadBytes(&Anim.Name, Anim.Base.Size);
238238

239-
std::int32_t iBoneID = eBoneType::UNKNOWN;
240-
if (Anim.Base.Size == 0x2C)
241-
{
242-
iBoneID = Anim.Next;
243-
}
244-
245239
SString strBoneName = ConvertStringToKey(Anim.Name);
246-
iBoneID = GetBoneIDFromName(strBoneName);
240+
std::int32_t iBoneID = GetBoneIDFromName(strBoneName);
247241

248242
SString strCorrectBoneName = GetCorrectBoneNameFromName(strBoneName);
249243
strncpy(Anim.Name, strCorrectBoneName, strCorrectBoneName.size() + 1);

0 commit comments

Comments
 (0)