X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=sv_save.c;h=b32cd9c6f5574f686bf834785a1e3ccdf73ad4b8;hb=e8ce3d3b6216616a3070467f6fd889f14f0e9db5;hp=f7f26d69728f9ee173e9714c96f83cde3a366ec0;hpb=197da0b9148dfb2d1b16457df1ba1c08b86ff9c2;p=xonotic%2Fdarkplaces.git diff --git a/sv_save.c b/sv_save.c index f7f26d69..b32cd9c6 100644 --- 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