From: Mircea Kitsune Date: Fri, 28 Oct 2011 13:16:37 +0000 (+0300) Subject: Add a comment line with information to the save file X-Git-Tag: xonotic-v0.6.0~35^2~18^2~83 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=25edd767c9abd9d1f543c096a2d5cd90003e79ae;p=xonotic%2Fxonotic-data.pk3dir.git Add a comment line with information to the save file --- diff --git a/qcsrc/server/mutators/sandbox.qc b/qcsrc/server/mutators/sandbox.qc index 02686cb0d..f06cb3ea4 100644 --- a/qcsrc/server/mutators/sandbox.qc +++ b/qcsrc/server/mutators/sandbox.qc @@ -209,6 +209,7 @@ void sandbox_Storage_DatabaseSave() fn = strcat("sandbox/storage_", GetMapname(), ".txt"); fh = fopen(fn, FILE_WRITE); + fputs(fh, strcat("// sandbox storage for map ", GetMapname(), ", containing a total of ", ftos(object_count), " objects.\n")); for(head = world; (head = find(head, classname, "object")); ) { // Unfortunately, attached objects cannot be persisted yet. That's because the parent is specified as an entity,