]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_parse: Use Cbuf_InsertText for svc_sellscreen
authorCloudwalk <cloudwalk009@gmail.com>
Fri, 21 Aug 2020 11:21:23 +0000 (07:21 -0400)
committerCloudwalk <cloudwalk009@gmail.com>
Fri, 21 Aug 2020 11:21:23 +0000 (07:21 -0400)
cl_parse.c

index e35e43c2fffd26c57cc98c0eb9cb795dc1e9b136..8de8d86da7f832e1c1566b3928e564557d61f88b 100644 (file)
@@ -3658,7 +3658,7 @@ void CL_ParseServerMessage(void)
                                break;
 
                        case qw_svc_sellscreen:
-                               Cmd_ExecuteString(&cmd_client, "help", src_command, true);
+                               Cbuf_InsertText(&cmd_client, "help");
                                break;
 
                        case qw_svc_smallkick:
@@ -4165,7 +4165,7 @@ void CL_ParseServerMessage(void)
                                break;
 
                        case svc_sellscreen:
-                               Cmd_ExecuteString(&cmd_client, "help", src_command, true);
+                               Cbuf_InsertText(&cmd_client, "help");
                                break;
                        case svc_hidelmp:
                                if (gamemode == GAME_TENEBRAE)