shithub: choc

Download patch

ref: 003395076f6428011f974028245bae80157f7578
parent: db5a745b8c0fbad6c0c9d8f13b8cc6458728c5b8
author: Turo Lamminen <[email protected]>
date: Tue May 15 16:14:52 EDT 2018

strife: Make R_FlatNumForName parameter const

--- a/src/strife/r_data.c
+++ b/src/strife/r_data.c
@@ -741,7 +741,7 @@
 // R_FlatNumForName
 // Retrieval, get a flat number for a flat name.
 //
-int R_FlatNumForName (char* name)
+int R_FlatNumForName(const char *name)
 {
     int		i;
     char	namet[9];
--- a/src/strife/r_data.h
+++ b/src/strife/r_data.h
@@ -41,7 +41,7 @@
 // Retrieval.
 // Floor/ceiling opaque texture tiles,
 // lookup by name. For animation?
-int R_FlatNumForName (char* name);
+int R_FlatNumForName(const char *name);
 
 
 // Called by P_Ticker for switches and animations,