foxygit / doom Log in
commit dc8ed14ef68935fcee4c397714402b013cdc9295
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Mar 31 17:06:17 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Mar 31 17:06:17 2018 +0300

    sound: Make sfxinfo_struct tagname member const
---
 src/i_sound.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i_sound.h b/src/i_sound.h
index f984c8f6..7aa0cdd6 100644
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -33,7 +33,7 @@ typedef struct sfxinfo_struct	sfxinfo_t;
 struct sfxinfo_struct
 {
     // tag name, used for hexen.
-    char *tagname;
+    const char *tagname;

     // lump name.  If we are running with use_sfx_prefix=true, a
     // 'DS' (or 'DP' for PC speaker sounds) is prepended to this.