From 7dd80ce94015c6be68549992801efde40619fbe3 Mon Sep 17 00:00:00 2001 From: Night Owl Date: Wed, 19 Sep 2018 06:53:07 +0500 Subject: [PATCH] Fix build. --- dlls/hs/hs_model.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/hs/hs_model.cpp b/dlls/hs/hs_model.cpp index d8e43c94..bdd932bc 100644 --- a/dlls/hs/hs_model.cpp +++ b/dlls/hs/hs_model.cpp @@ -24,7 +24,7 @@ class CHSModel : public CBaseMonster { public: - void GeneriCHSModelSpawn(char *szModel, Vector vecMin, Vector vecMax); + void GeneriCHSModelSpawn(const char *szModel, Vector vecMin, Vector vecMax); virtual int ObjectCaps( void ) { return (CBaseEntity :: ObjectCaps() | FCAP_IMPULSE_USE); } void Spawn( void ); void Think( void ); @@ -60,7 +60,7 @@ LINK_ENTITY_TO_CLASS( hs_model, CGeneriCHSModel ); // Cycler member functions -void CHSModel :: GeneriCHSModelSpawn(char *szModel, Vector vecMin, Vector vecMax) +void CHSModel :: GeneriCHSModelSpawn(const char *szModel, Vector vecMin, Vector vecMax) { if (!szModel || !*szModel) {