From 1d6c6826db935f3d18928eeb76f688109a52c7ac Mon Sep 17 00:00:00 2001 From: s1lentq Date: Sun, 14 Jan 2024 00:24:33 +0700 Subject: [PATCH] fix build --- rehlds/engine/cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/cmd.cpp b/rehlds/engine/cmd.cpp index ae54155..a49df84 100644 --- a/rehlds/engine/cmd.cpp +++ b/rehlds/engine/cmd.cpp @@ -235,7 +235,7 @@ void Cbuf_Execute(void) } // execute the command line - if (len > 0) + if (line[0]) Cmd_ExecuteString(line, src_command); if (cmd_wait)