Added a check in Player::Shoot() to avoid an infinite loop.