mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove unused variable m_Force in CProjectile
This commit is contained in:
parent
3e458f8c10
commit
de552c71ca
|
@ -408,7 +408,6 @@ void CCharacter::FireWeapon()
|
|||
(int)(GameWorld()->GameTickSpeed() * Tuning()->m_ShotgunLifetime), //Span
|
||||
false, //Freeze
|
||||
false, //Explosive
|
||||
0, //Force
|
||||
-1 //SoundImpact
|
||||
);
|
||||
}
|
||||
|
@ -435,7 +434,6 @@ void CCharacter::FireWeapon()
|
|||
Lifetime, //Span
|
||||
false, //Freeze
|
||||
true, //Explosive
|
||||
0, //Force
|
||||
SOUND_GRENADE_EXPLODE //SoundImpact
|
||||
); //SoundImpact
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@ CProjectile::CProjectile(
|
|||
int Span,
|
||||
bool Freeze,
|
||||
bool Explosive,
|
||||
float Force,
|
||||
int SoundImpact,
|
||||
int Layer,
|
||||
int Number) :
|
||||
|
@ -30,7 +29,6 @@ CProjectile::CProjectile(
|
|||
m_Direction = Dir;
|
||||
m_LifeSpan = Span;
|
||||
m_Owner = Owner;
|
||||
m_Force = Force;
|
||||
m_SoundImpact = SoundImpact;
|
||||
m_StartTick = GameWorld()->GameTick();
|
||||
m_Explosive = Explosive;
|
||||
|
|
|
@ -22,7 +22,6 @@ public:
|
|||
int Span,
|
||||
bool Freeze,
|
||||
bool Explosive,
|
||||
float Force,
|
||||
int SoundImpact,
|
||||
int Layer = 0,
|
||||
int Number = 0);
|
||||
|
|
|
@ -521,7 +521,6 @@ void CCharacter::FireWeapon()
|
|||
Lifetime, //Span
|
||||
false, //Freeze
|
||||
false, //Explosive
|
||||
0, //Force
|
||||
-1 //SoundImpact
|
||||
);
|
||||
|
||||
|
@ -560,7 +559,6 @@ void CCharacter::FireWeapon()
|
|||
Lifetime, //Span
|
||||
false, //Freeze
|
||||
true, //Explosive
|
||||
0, //Force
|
||||
SOUND_GRENADE_EXPLODE //SoundImpact
|
||||
); //SoundImpact
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ CProjectile::CProjectile(
|
|||
int Span,
|
||||
bool Freeze,
|
||||
bool Explosive,
|
||||
float Force,
|
||||
int SoundImpact,
|
||||
int Layer,
|
||||
int Number) :
|
||||
|
@ -31,7 +30,6 @@ CProjectile::CProjectile(
|
|||
m_Direction = Dir;
|
||||
m_LifeSpan = Span;
|
||||
m_Owner = Owner;
|
||||
m_Force = Force;
|
||||
//m_Damage = Damage;
|
||||
m_SoundImpact = SoundImpact;
|
||||
m_StartTick = Server()->Tick();
|
||||
|
|
|
@ -17,7 +17,6 @@ public:
|
|||
int Span,
|
||||
bool Freeze,
|
||||
bool Explosive,
|
||||
float Force,
|
||||
int SoundImpact,
|
||||
int Layer = 0,
|
||||
int Number = 0);
|
||||
|
@ -38,7 +37,6 @@ private:
|
|||
int m_Type;
|
||||
//int m_Damage;
|
||||
int m_SoundImpact;
|
||||
float m_Force;
|
||||
int m_StartTick;
|
||||
bool m_Explosive;
|
||||
|
||||
|
|
|
@ -231,7 +231,6 @@ bool IGameController::OnEntity(int Index, int x, int y, int Layer, int Flags, bo
|
|||
-2, //Span
|
||||
true, //Freeze
|
||||
true, //Explosive
|
||||
0, //Force
|
||||
(g_Config.m_SvShotgunBulletSound) ? SOUND_GRENADE_EXPLODE : -1, //SoundImpact
|
||||
Layer,
|
||||
Number);
|
||||
|
@ -258,7 +257,6 @@ bool IGameController::OnEntity(int Index, int x, int y, int Layer, int Flags, bo
|
|||
-2, //Span
|
||||
true, //Freeze
|
||||
false, //Explosive
|
||||
0,
|
||||
SOUND_GRENADE_EXPLODE,
|
||||
Layer,
|
||||
Number);
|
||||
|
|
Loading…
Reference in a new issue