diff --git a/src/am_map.cpp b/src/am_map.cpp index 62af8ed67..9987876a9 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -185,7 +185,7 @@ CUSTOM_CVAR (Int, am_showalllines, -1, 0) // This is a cheat so don't save it. { int flagged = 0; int total = 0; - if (self > 0) + if (self > 0 && numlines > 0) { for(int i=0;i