foxygit / doom Log in
commit 6213afee9fe503d9e92aceee676ed6548a9a4c55
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Apr 24 19:08:52 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Apr 24 19:08:52 2018 +0300

    doom: Fix const correctness issue in P_InitPicAnims
---
 src/doom/p_spec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/p_spec.c b/src/doom/p_spec.c
index 0d8f0518..b5c8fa7e 100644
--- a/src/doom/p_spec.c
+++ b/src/doom/p_spec.c
@@ -149,7 +149,7 @@ void P_InitPicAnims (void)
     lastanim = anims;
     for (i=0 ; animdefs[i].istexture != -1 ; i++)
     {
-        char *startname, *endname;
+        const char *startname, *endname;

         startname = DEH_String(animdefs[i].startname);
         endname = DEH_String(animdefs[i].endname);