X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=host_cmd.c;h=86668a20a267a3c2dae6c6fb67621d8bbed28102;hb=1a50f2589428e9f059f13b123839ee78eeb2330a;hp=995e61bc203ee72f5291cd41c1cf0035426d2a70;hpb=b1b733460d92e4aab49b49dc0190096ba5cc949a;p=xonotic%2Fdarkplaces.git diff --git a/host_cmd.c b/host_cmd.c index 995e61bc..86668a20 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -500,7 +500,7 @@ void Host_Savegame_f (void) FS_DefaultExtension (name, ".sav", sizeof (name)); Con_Printf("Saving game to %s...\n", name); - f = FS_Open (name, "wb", false); + f = FS_Open (name, "wb", false, false); if (!f) { Con_Print("ERROR: couldn't open.\n"); @@ -919,9 +919,9 @@ void Host_Say(qboolean teamonly) p1++; } if (!fromServer) - snprintf (text, sizeof(text), "%c%s: %s", 1, host_client->name, p1); + dpsnprintf (text, sizeof(text), "%c%s: %s", 1, host_client->name, p1); else - snprintf (text, sizeof(text), "%c<%s> %s", 1, hostname.string, p1); + dpsnprintf (text, sizeof(text), "%c<%s> %s", 1, hostname.string, p1); p2 = text + strlen(text); while ((const char *)p2 > (const char *)text && (p2[-1] == '\r' || p2[-1] == '\n' || (p2[-1] == '\"' && quoted))) {