diff options
| author | xolatile | 2025-07-21 06:06:50 +0200 |
|---|---|---|
| committer | xolatile | 2025-07-21 06:06:50 +0200 |
| commit | 09a43565940be30b233fa8730e65d531a454a03b (patch) | |
| tree | e7ee95b2964b68611701643376ed500bb7d2ddcd /src/fpsgame/ai.cpp | |
| parent | 39de2c68c8a3f9cd7cffef9364a59c9d412b907e (diff) | |
| download | xolatile-badassbug-09a43565940be30b233fa8730e65d531a454a03b.tar.xz xolatile-badassbug-09a43565940be30b233fa8730e65d531a454a03b.tar.zst | |
Cleaned 95% of -Wall -Wextra...
Diffstat (limited to 'src/fpsgame/ai.cpp')
| -rw-r--r-- | src/fpsgame/ai.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; } } |
