From 7b0ab90eed0d906196c43aa023d5bee56d91e9c4 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 22 Feb 2017 12:51:17 +1000 Subject: [PATCH] Use FILE_APPEND in screenshot ent creation command (allows placing more than 1 in the map) --- qcsrc/client/commands/cl_cmd.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/commands/cl_cmd.qc b/qcsrc/client/commands/cl_cmd.qc index f79578471..0e4fad529 100644 --- a/qcsrc/client/commands/cl_cmd.qc +++ b/qcsrc/client/commands/cl_cmd.qc @@ -135,7 +135,7 @@ void LocalCommand_create_scrshot_ent(int request) case CMD_REQUEST_COMMAND: { string filename = strcat(MapInfo_Map_bspname, "_scrshot_ent.txt"); - int fh = fopen(filename, FILE_WRITE); + int fh = fopen(filename, FILE_APPEND); if (fh >= 0) { -- 2.39.2