From 53722b448fce963fe81de24fdacc84cf693a7cb9 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Wed, 27 Dec 2017 00:54:18 +0500 Subject: [PATCH] Fix warning. --- dlls/tot/civ.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/tot/civ.cpp b/dlls/tot/civ.cpp index 8895f26f..a784e0e2 100644 --- a/dlls/tot/civ.cpp +++ b/dlls/tot/civ.cpp @@ -100,10 +100,10 @@ class CDeadCivScientist : public CDeadScientist public: void Spawn(void); - static char *m_szPoses[7]; + static const char *m_szPoses[7]; }; -char *CDeadCivScientist::m_szPoses[] = { "lying_on_back", "lying_on_stomach", "dead_sitting", "dead_hang", "dead_table1", "dead_table2", "dead_table3" }; +const char *CDeadCivScientist::m_szPoses[] = { "lying_on_back", "lying_on_stomach", "dead_sitting", "dead_hang", "dead_table1", "dead_table2", "dead_table3" }; LINK_ENTITY_TO_CLASS(monster_civ_dead, CDeadCivScientist);