fix(entity): send updatesWithParentPosition from the spawn behavior, as live

The parent info always said the object doesn't move with its parent. Live
sent true for objects a spawn behavior made with updatePositionWithParent
(all 70 Engineer Personal Fortress constructions in the captures, LOT 9479,
and the Summoner's Scratch, 9644); the client then moves them with the
player. Every other construction in the captures sent false, and none sent
an object world state, which stays unsent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-02 08:30:23 -05:00
parent 9aa06f349c
commit 0c215de446
4 changed files with 10 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ class SpawnBehavior final : public Behavior
public:
LOT m_lot;
float m_Distance;
// The spawned object moves with the one that spawned it (its parent)
bool m_UpdatePositionWithParent;
/*
* Inherited