CScriptDebris: Assign dieOnProjectile

This commit is contained in:
Luke Street 2020-05-14 11:59:34 -04:00
parent ff62fddc89
commit 72880f6286
2 changed files with 3 additions and 2 deletions

View File

@ -89,6 +89,7 @@ CScriptDebris::CScriptDebris(TUniqueId uid, std::string_view name, const CEntity
, x281_27_particle2GlobalTranslation(particle2GlobalTranslation) , x281_27_particle2GlobalTranslation(particle2GlobalTranslation)
, x281_28_deferDeleteTillParticle2Done(deferDeleteTillParticle2Done) , x281_28_deferDeleteTillParticle2Done(deferDeleteTillParticle2Done)
, x281_30_debrisExtended(true) , x281_30_debrisExtended(true)
, x281_31_dieOnProjectile(dieOnProjectile)
, x282_24_noBounce(noBounce) , x282_24_noBounce(noBounce)
, x288_linConeAngle(linConeAngle) , x288_linConeAngle(linConeAngle)
, x28c_linMinMag(linMinMag) , x28c_linMinMag(linMinMag)

View File

@ -14,9 +14,9 @@ namespace urde {
class CElementGen; class CElementGen;
class CScriptDebris : public CPhysicsActor { class CScriptDebris : public CPhysicsActor {
public: 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: private:
zeus::CVector3f x258_velocity; zeus::CVector3f x258_velocity;