shithub: choc

Download patch

ref: 45ad423f2b9e3ffe57fedb2acf86f5e5eafa8eed
parent: 08a4de583359b2e4924ab7ca3692567f9b5f6620
author: Turo Lamminen <[email protected]>
date: Sat Jul 21 12:50:01 EDT 2018

wad: Make W_NWTDashMerge parameter const

--- a/src/w_merge.c
+++ b/src/w_merge.c
@@ -670,7 +670,7 @@
 // a PWAD, then search the IWAD sprites, removing any sprite lumps that also
 // exist in the PWAD.
 
-void W_NWTDashMerge(char *filename)
+void W_NWTDashMerge(const char *filename)
 {
     wad_file_t *wad_file;
     int old_numlumps;
--- a/src/w_merge.h
+++ b/src/w_merge.h
@@ -34,7 +34,7 @@
 
 // Acts the same as NWT's "-merge" option.
 
-void W_NWTDashMerge(char *filename);
+void W_NWTDashMerge(const char *filename);
 
 // Debug function that prints the WAD directory.