activa -Wextra -Wpedantic i neteja warnings

This commit is contained in:
2026-05-18 22:11:07 +02:00
parent 332078de15
commit 2b45d40c6f
9 changed files with 45 additions and 13 deletions
+1 -1
View File
@@ -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; }