rnd-20050603-1-src
[rocksndiamonds.git] / src / files.c
index 473a73926cbcaa9f24502582db6844c9746b786a..6e1c770f0fcfb4afd19666a82c8e6ea7ad2afda9 100644 (file)
@@ -3959,7 +3959,7 @@ void SaveTape(int nr)
   InitTapeDirectory(leveldir_current->subdir);
 
   /* if a tape still exists, ask to overwrite it */
-  if (access(filename, F_OK) == 0)
+  if (fileExists(filename))
   {
     new_tape = FALSE;
     if (!Request("Replace old tape ?", REQ_ASK))