]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_save.c
Alphabetical order fix
[xonotic/darkplaces.git] / sv_save.c
index f7f26d69728f9ee173e9714c96f83cde3a366ec0..b32cd9c6f5574f686bf834785a1e3ccdf73ad4b8 100644 (file)
--- a/sv_save.c
+++ b/sv_save.c
@@ -211,7 +211,7 @@ void SV_Savegame_f(cmd_state_t *cmd)
                }
        }
        else
-               Con_Warn("Warning: saving a multiplayer game may have strange results when restored (to properly resume, all players must join in the same player slots and then the game can be reloaded).\n");
+               Con_Print(CON_WARN "Warning: saving a multiplayer game may have strange results when restored (to properly resume, all players must join in the same player slots and then the game can be reloaded).\n");
 
        if (Cmd_Argc(cmd) != 2)
        {
@@ -518,7 +518,7 @@ void SV_Loadgame_f(cmd_state_t *cmd)
                                                        if (COM_ParseToken_Simple(&t, false, false, true))
                                                                k |= atoi(com_token);
                                                        if (!BufStr_FindCreateReplace(prog, i, k, "string"))
-                                                               Con_Errorf("failed to create stringbuffer %i\n", i);
+                                                               Con_Printf(CON_ERROR "failed to create stringbuffer %i\n", i);
                                                }
                                                else
                                                        Con_Printf("unsupported stringbuffer index %i \"%s\"\n", i, com_token);
@@ -548,7 +548,7 @@ void SV_Loadgame_f(cmd_state_t *cmd)
                                                                Con_Printf("unexpected end of line when parsing sv.bufstr (expected strindex)\n");
                                                }
                                                else
-                                                       Con_Errorf("failed to create stringbuffer %i \"%s\"\n", i, com_token);
+                                                       Con_Printf(CON_ERROR "failed to create stringbuffer %i \"%s\"\n", i, com_token);
                                        }
                                }       
                                // skip any trailing text or unrecognized commands