Fixed compilation on SourceMod 1.9

This commit is contained in:
shavit 2017-12-09 23:24:35 +02:00
parent d26ad819a6
commit 5b34eaf3a4
2 changed files with 3 additions and 1 deletions

View File

@ -2342,7 +2342,9 @@ void UpdateFootsteps(int client)
}
}
#if SOURCEMOD_V_MAJOR == 1 && SOURCEMOD_V_MINOR < 9
bool IsNullVector(float vec[3])
{
return (vec[0] == NULL_VECTOR[0] && vec[1] == NULL_VECTOR[1] && vec[2] == NULL_VECTOR[2]);
}
#endif