Skip to content

Commit 229389a

Browse files
authored
Fix missing restore handlers for TIMED_OBJECT and CLUMP (#3357)
Fixes issue #3354: "Constant crash with engineRequestModel for timed-object"
1 parent a96f99f commit 229389a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Client/mods/deathmatch/logic/CClientModel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ void CClientModel::RestoreEntitiesUsingThisModel()
109109
{
110110
case eClientModelType::PED:
111111
case eClientModelType::OBJECT:
112+
case eClientModelType::CLUMP:
113+
case eClientModelType::TIMED_OBJECT:
112114
case eClientModelType::VEHICLE:
113115
RestoreDFF(pModelInfo);
114116
return;

0 commit comments

Comments
 (0)