mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Fix Model Component Serialization (#655)
* Fix model component serialization * Update ModelComponent.h
This commit is contained in:
@@ -829,11 +829,11 @@ void DestroyableComponent::Smash(const LWOOBJID source, const eKillType killType
|
||||
m_Parent->Kill(owner);
|
||||
}
|
||||
|
||||
void DestroyableComponent::SetFaction(int32_t factionID) {
|
||||
void DestroyableComponent::SetFaction(int32_t factionID, bool ignoreChecks) {
|
||||
m_FactionIDs.clear();
|
||||
m_EnemyFactionIDs.clear();
|
||||
|
||||
AddFaction(factionID);
|
||||
AddFaction(factionID, ignoreChecks);
|
||||
}
|
||||
|
||||
void DestroyableComponent::PushImmunity(int32_t stacks)
|
||||
|
Reference in New Issue
Block a user