Impl objects for editor

This commit is contained in:
MegaMech
2025-03-01 21:43:47 -07:00
parent 842042d515
commit b5a7b69a42
25 changed files with 34 additions and 137 deletions
+1
View File
@@ -19,6 +19,7 @@ OHedgehog::OHedgehog(const FVector& pos, const FVector2D& patrolPoint, s16 unk)
_pos = pos;
s32 objectId = indexObjectList2[_idx];
_objectIndex = objectId;
init_object(objectId, 0);
gObjectList[objectId].pos[0] = gObjectList[objectId].origin_pos[0] = pos.x * xOrientation;
gObjectList[objectId].pos[1] = gObjectList[objectId].surfaceHeight = pos.y + 6.0;