]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - keys.c
Rename src_command to src_local, to clarify its meaning
[xonotic/darkplaces.git] / keys.c
diff --git a/keys.c b/keys.c
index 7363590efdf3cee0265f297d105226706d2fbf9a..5a67502ffe147595386a07cba05ff18563b3a804 100644 (file)
--- a/keys.c
+++ b/keys.c
@@ -1305,7 +1305,7 @@ Key_Message (cmd_state_t *cmd, int key, int ascii)
        if (key == K_ENTER || key == K_KP_ENTER || ascii == 10 || ascii == 13)
        {
                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!
+                       Cmd_ExecuteString(cmd, chat_buffer, src_local, true); // not Cbuf_AddText to allow semiclons in args; however, this allows no variables then. Use aliases!
                else
                        CL_ForwardToServer(va(vabuf, sizeof(vabuf), "%s %s", chat_mode ? "say_team" : "say ", chat_buffer));