shithub: rott

Download patch

ref: 33346544e1b6f434ba54c0720b91d5f13a783e14
parent: a043f0573089b3c036b91e8678b61c2490c67b9b
author: Marc-Alexandre Espiaut <[email protected]>
date: Mon Jun 4 11:23:00 EDT 2018

Removing DOS code w_wad.c

--- a/rott/w_wad.c
+++ b/rott/w_wad.c
@@ -101,11 +101,7 @@
 // read the entire file in
 //      FIXME: shared opens
 
-#ifdef PLATFORM_DOS
-    if ( (handle = open (filename,O_RDWR | O_BINARY)) == -1)
-#else
     if ( (handle = open (filename,O_RDONLY | O_BINARY)) == -1)
-#endif
         return;
 
     startlump = numlumps;