summaryrefslogtreecommitdiff
path: root/src/fpsgame/ai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fpsgame/ai.cpp')
-rw-r--r--src/fpsgame/ai.cpp3
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;
}
}