shithub: choc

Download patch

ref: 8dd2c9df0f5f92fddfe809401a5f13521a65b5f0
parent: 80c9bb6140ece8d3e61184c6ce8347ded426d8fe
author: Turo Lamminen <turotl@gmail.com>
date: Tue Apr 24 14:40:56 EDT 2018

doom: Make R_FlatNumForName parameter const

--- a/src/doom/r_data.c
+++ b/src/doom/r_data.c
@@ -717,7 +717,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/doom/r_data.h
+++ b/src/doom/r_data.h
@@ -40,7 +40,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,