]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
Convert \ to / when loading texture from Q3 shader
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index 6daa68cb3c46c6c100a0ae8223a06bd0cc52242a..7363590efdf3cee0265f297d105226706d2fbf9a 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1307,7 +1307,7 @@ Key_Message (cmd_state_t *cmd, int key, int ascii)
                if(chat_mode < 0)
                        Cmd_ExecuteString(cmd, chat_buffer, src_command, true); // not Cbuf_AddText to allow semiclons in args; however, this allows no variables then. Use aliases!
                else
-                       Cmd_ForwardStringToServer(va(vabuf, sizeof(vabuf), "%s %s", chat_mode ? "say_team" : "say ", chat_buffer));
+                       CL_ForwardToServer(va(vabuf, sizeof(vabuf), "%s %s", chat_mode ? "say_team" : "say ", chat_buffer));
 
                key_dest = key_game;
                chat_bufferpos = Key_ClearEditLine(false);
@@ -2084,4 +2084,4 @@ Key_ReleaseAll (void)
 void Key_ReleaseAll_f(cmd_state_t *cmd)
 {
        Key_ReleaseAll();
-}
\ No newline at end of file
+}