Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(net/rdr3): don't expect game object from propsets
  • Loading branch information
Disquse committed Oct 25, 2021
1 parent 020dd25 commit 099869d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/components/gta-net-five/src/CloneManager.cpp
Expand Up @@ -2371,7 +2371,12 @@ void CloneManagerLocal::WriteUpdates()
}

// if this object doesn't have a game object, but it should, ignore it
#ifdef GTA_FIVE
if (object->GetObjectType() != (uint16_t)NetObjEntityType::PickupPlacement)
#elif IS_RDR3
if (object->GetObjectType() != (uint16_t)NetObjEntityType::PickupPlacement &&
object->GetObjectType() != (uint16_t)NetObjEntityType::PropSet)
#endif
{
if (object->GetGameObject() == nullptr)
{
Expand Down

0 comments on commit 099869d

Please sign in to comment.