diff --git a/code/cgame/cg_local.h b/code/cgame/cg_local.h index dfe78232..d98b47d3 100644 --- a/code/cgame/cg_local.h +++ b/code/cgame/cg_local.h @@ -805,7 +805,7 @@ void CG_ParseScores(); // // cg_specialfx.cpp -void CG_Footstep(char* szTagName, centity_t* ent, refEntity_t* pREnt, int iRunning, int iEquipment); +void CG_Footstep(const char* szTagName, centity_t* ent, refEntity_t* pREnt, int iRunning, int iEquipment); void CG_MeleeImpact(vec3_t vStart, vec3_t vEnd); void CG_LandingSound(centity_t* ent, refEntity_t* pREnt, float volume, int iEquipment); void CG_InitializeSpecialEffectsManager(); diff --git a/code/cgame/cg_specialfx.cpp b/code/cgame/cg_specialfx.cpp index 780624ec..68749f2e 100644 --- a/code/cgame/cg_specialfx.cpp +++ b/code/cgame/cg_specialfx.cpp @@ -650,7 +650,7 @@ static void CG_FootstepMain(trace_t* trace, int iRunning, int iEquipment) } } -void CG_Footstep(char* szTagName, centity_t* ent, refEntity_t* pREnt, int iRunning, int iEquipment) +void CG_Footstep(const char* szTagName, centity_t* ent, refEntity_t* pREnt, int iRunning, int iEquipment) { int i; int iTagNum;