src/archiver_wad.c
changeset 1115 bc7257f4f8da
parent 1113 2136d64bd1ad
child 1118 2e09fc635fdd
--- a/src/archiver_wad.c	Tue Aug 24 14:17:07 2010 -0400
+++ b/src/archiver_wad.c	Wed Aug 25 01:28:28 2010 -0400
@@ -62,7 +62,6 @@
 typedef struct
 {
     char *filename;
-    PHYSFS_sint64 last_mod_time;
     PHYSFS_uint32 entryCount;
     PHYSFS_uint32 entryOffset;
     WADentry *entries;
@@ -275,7 +274,6 @@
 
 static void *WAD_openArchive(const char *name, int forWriting)
 {
-    PHYSFS_sint64 modtime = __PHYSFS_platformGetLastModTime(name);
     WADinfo *info = (WADinfo *) allocator.Malloc(sizeof (WADinfo));
 
     BAIL_IF_MACRO(info == NULL, ERR_OUT_OF_MEMORY, NULL);
@@ -288,7 +286,6 @@
         goto WAD_openArchive_failed;
 
     strcpy(info->filename, name);
-    info->last_mod_time = modtime;
     return info;
 
 WAD_openArchive_failed:
@@ -471,9 +468,9 @@
 
     stat->filesize = entry->size;
     stat->filetype = PHYSFS_FILETYPE_REGULAR;
-    stat->accesstime = 0;
-    stat->modtime = ((WADinfo *) opaque)->last_mod_time;
-    stat->createtime = ((WADinfo *) opaque)->last_mod_time;
+    stat->accesstime = -1;
+    stat->modtime = -1;
+    stat->createtime = -1;
     stat->readonly = 1; /* WADs are always readonly */
 
     return 1;