From 09a43565940be30b233fa8730e65d531a454a03b Mon Sep 17 00:00:00 2001 From: xolatile Date: Mon, 21 Jul 2025 06:06:50 +0200 Subject: Cleaned 95% of -Wall -Wextra... --- src/fpsgame/ai.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fpsgame/ai.cpp') diff --git a/src/fpsgame/ai.cpp b/src/fpsgame/ai.cpp index 50f0549..a4d3c33 100644 --- a/src/fpsgame/ai.cpp +++ b/src/fpsgame/ai.cpp @@ -877,10 +877,9 @@ namespace ai switch(wpspot(d, d->ai->route[n], true)) { case 2: d->ai->clear(false); + [[fallthrough]]; case 1: return true; // not close enough to pop it yet - case 0: - default: break; } } -- cgit v1.2.3