foxygit / doom Log in
commit f81772344829143ed3b16bfb7764c1d66414a886
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 19 15:35:38 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 19 15:52:48 2018 +0300

    dehacked: Make deh_mapping_entry_s name member const
---
 src/deh_mapping.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/deh_mapping.h b/src/deh_mapping.h
index 8d89ef8a..e71468c4 100644
--- a/src/deh_mapping.h
+++ b/src/deh_mapping.h
@@ -60,7 +60,7 @@ struct deh_mapping_entry_s
 {
     // field name

-    char *name;
+    const char *name;

     // location relative to the base in the deh_mapping_t struct
     // If this is NULL, it is an unsupported mapping