activa -Wextra -Wpedantic i neteja warnings
This commit is contained in:
@@ -96,7 +96,7 @@ void SolidActorManager::forEachActor(Fn&& fn) const {
|
||||
// Sin esto, Player::stuckAgainstWall no detectaba puertas cerradas en contacto
|
||||
// y la animación "walk" se reproducía aunque el clamp de moveHorizontal
|
||||
// dejase x_ inmóvil.
|
||||
auto SolidActorManager::checkWallLeft(float px, float py, float pw, float ph) const -> float {
|
||||
auto SolidActorManager::checkWallLeft(float px, float py, float /*pw*/, float ph) const -> float {
|
||||
float result = Collision::NONE;
|
||||
forEachActor([&](const SolidActor* a, const SDL_FRect& r) {
|
||||
if (!a->isBlocking()) { return; }
|
||||
|
||||
Reference in New Issue
Block a user