Skip to content

Commit

Permalink
Fix missing restore handlers for TIMED_OBJECT and CLUMP (#3357)
Browse files Browse the repository at this point in the history
Fixes issue #3354: "Constant crash with engineRequestModel for timed-object"
  • Loading branch information
TheNormalnij authored Apr 3, 2024
1 parent a96f99f commit 229389a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Client/mods/deathmatch/logic/CClientModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ void CClientModel::RestoreEntitiesUsingThisModel()
{
case eClientModelType::PED:
case eClientModelType::OBJECT:
case eClientModelType::CLUMP:
case eClientModelType::TIMED_OBJECT:
case eClientModelType::VEHICLE:
RestoreDFF(pModelInfo);
return;
Expand Down

0 comments on commit 229389a

Please sign in to comment.