Browse Source

Fix build.

half-screwed
Night Owl 6 years ago
parent
commit
7dd80ce940
  1. 4
      dlls/hs/hs_model.cpp

4
dlls/hs/hs_model.cpp

@ -24,7 +24,7 @@
class CHSModel : public CBaseMonster class CHSModel : public CBaseMonster
{ {
public: 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); } virtual int ObjectCaps( void ) { return (CBaseEntity :: ObjectCaps() | FCAP_IMPULSE_USE); }
void Spawn( void ); void Spawn( void );
void Think( void ); void Think( void );
@ -60,7 +60,7 @@ LINK_ENTITY_TO_CLASS( hs_model, CGeneriCHSModel );
// Cycler member functions // 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) if (!szModel || !*szModel)
{ {

Loading…
Cancel
Save