foxygit / doom Log in
commit e268cd1327a195285255541e6b77f0aad71300a8
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Dec 4 19:02:45 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Dec 4 19:02:45 2018 +0200

    hexen: Make TerrainTypeDefs name member const
---
 src/hexen/p_spec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hexen/p_spec.c b/src/hexen/p_spec.c
index d36d3e86..893ad4ac 100644
--- a/src/hexen/p_spec.c
+++ b/src/hexen/p_spec.c
@@ -44,7 +44,7 @@ static boolean CheckedLockedDoor(mobj_t * mo, byte lock);
 int *TerrainTypes;
 struct
 {
-    char *name;
+    const char *name;
     int type;
 } TerrainTypeDefs[] =
 {