]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use FILE_APPEND in screenshot ent creation command (allows placing more than 1 in...
authorMario <mario@smbclan.net>
Wed, 22 Feb 2017 02:51:17 +0000 (12:51 +1000)
committerMario <mario@smbclan.net>
Wed, 22 Feb 2017 02:51:17 +0000 (12:51 +1000)
qcsrc/client/commands/cl_cmd.qc

index f795784718dd269cbd48da5e820762e72982c796..0e4fad5294ae9630a5930a0175648eb13e27b80e 100644 (file)
@@ -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)
                        {