From ed8266df0bf8acf03684225d4fc6ee77d0b91dce Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 29 Nov 2020 16:06:15 +0100 Subject: [PATCH] - fixed bad args check in WarpToCoords CCMD. --- source/core/inputstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/inputstate.cpp b/source/core/inputstate.cpp index 762652512..71b6e469c 100644 --- a/source/core/inputstate.cpp +++ b/source/core/inputstate.cpp @@ -336,7 +336,7 @@ CCMD(warptocoords) Printf("warptocoords cannot be used in multiplayer.\n"); return; } - if (argv.argc() <= 4) + if (argv.argc() < 4) { Printf("warptocoords [x] [y] [z] [ang] (optional) [horiz] (optional): warps the player to the specified coordinates\n"); return;