mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
fix some AddressSanitizer issues
This commit is contained in:
@@ -221,7 +221,7 @@ struct breakmodel_t
|
||||
|
||||
struct breakablepropparams_t
|
||||
{
|
||||
breakablepropparams_t( const Vector &_origin, const QAngle &_angles, const Vector &_velocity, const AngularImpulse &_angularVelocity )
|
||||
breakablepropparams_t( const Vector _origin, const QAngle _angles, const Vector _velocity, const AngularImpulse _angularVelocity )
|
||||
: origin(_origin), angles(_angles), velocity(_velocity), angularVelocity(_angularVelocity)
|
||||
{
|
||||
impactEnergyScale = 0;
|
||||
@@ -230,10 +230,10 @@ struct breakablepropparams_t
|
||||
nDefaultSkin = 0;
|
||||
}
|
||||
|
||||
const Vector &origin;
|
||||
const QAngle &angles;
|
||||
const Vector &velocity;
|
||||
const AngularImpulse &angularVelocity;
|
||||
const Vector origin;
|
||||
const QAngle angles;
|
||||
const Vector velocity;
|
||||
const AngularImpulse angularVelocity;
|
||||
float impactEnergyScale;
|
||||
float defBurstScale;
|
||||
int defCollisionGroup;
|
||||
|
||||
Reference in New Issue
Block a user