From: Mario Date: Wed, 22 Feb 2017 02:51:17 +0000 (+1000) Subject: Use FILE_APPEND in screenshot ent creation command (allows placing more than 1 in... X-Git-Tag: xonotic-v0.8.2~186 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7b0ab90eed0d906196c43aa023d5bee56d91e9c4;p=xonotic%2Fxonotic-data.pk3dir.git Use FILE_APPEND in screenshot ent creation command (allows placing more than 1 in the map) --- 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) {