Remove the dead code.
This commit is contained in:
@@ -205,11 +205,7 @@ Player::Sound Player::ApplyPhysics(Vector3f input, World* world, float elapsedTi
|
||||
void Player::ApplyTransformation(Transformation& transformation, bool rel, bool rot) const {
|
||||
transformation.ApplyRotation(-m_rotX, 1, 0, 0);
|
||||
transformation.ApplyRotation(-m_rotY, 0, 1, 0);
|
||||
|
||||
|
||||
if (rel) transformation.ApplyTranslation(-GetPOV());
|
||||
|
||||
|
||||
}
|
||||
|
||||
void Player::GetBooster(Booster boosttype)
|
||||
@@ -302,9 +298,6 @@ void Player::InflictDamage(float hitPoints) {
|
||||
|
||||
if (m_hp < 0)
|
||||
m_hp == 0;
|
||||
//if (AmIDead())
|
||||
//{ // Quand le joueur est mort.
|
||||
//}
|
||||
}
|
||||
|
||||
int Player::getScore() const { return m_score; }
|
||||
|
Reference in New Issue
Block a user