Character fixes - get it compiling again

- Pass componentID to activity component constructor
- use int componentid so -1 can denote no component
This commit is contained in:
David Markowitz
2023-06-26 22:39:15 -07:00
parent d9a3bea6d5
commit 2abcb142ad
20 changed files with 96 additions and 103 deletions

View File

@@ -107,7 +107,7 @@ class RacingControlComponent : public ScriptedActivityComponent {
public:
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::RACING_CONTROL;
RacingControlComponent(Entity* parentEntity);
RacingControlComponent(Entity* parentEntity, int32_t componentId);
~RacingControlComponent();
void Serialize(RakNet::BitStream* outBitStream, bool bIsInitialUpdate, unsigned int& flags);