diff --git a/Runtime/World/CScriptDebris.cpp b/Runtime/World/CScriptDebris.cpp index 9dcb83f5b..f724dd40f 100644 --- a/Runtime/World/CScriptDebris.cpp +++ b/Runtime/World/CScriptDebris.cpp @@ -89,6 +89,7 @@ CScriptDebris::CScriptDebris(TUniqueId uid, std::string_view name, const CEntity , x281_27_particle2GlobalTranslation(particle2GlobalTranslation) , x281_28_deferDeleteTillParticle2Done(deferDeleteTillParticle2Done) , x281_30_debrisExtended(true) +, x281_31_dieOnProjectile(dieOnProjectile) , x282_24_noBounce(noBounce) , x288_linConeAngle(linConeAngle) , x28c_linMinMag(linMinMag) diff --git a/Runtime/World/CScriptDebris.hpp b/Runtime/World/CScriptDebris.hpp index f32d1a4ac..9d44ee853 100644 --- a/Runtime/World/CScriptDebris.hpp +++ b/Runtime/World/CScriptDebris.hpp @@ -14,9 +14,9 @@ namespace urde { class CElementGen; class CScriptDebris : public CPhysicsActor { public: - enum class EScaleType { NoScale, EndsToZero }; + enum class EScaleType : u8 { NoScale, EndsToZero }; - enum class EOrientationType { NotOriented, AlongVelocity, ToObject, AlongCollisionNormal }; + enum class EOrientationType : u8 { NotOriented, AlongVelocity, ToObject, AlongCollisionNormal }; private: zeus::CVector3f x258_velocity;