Overlooked this detail

This commit is contained in:
FutureRave 2021-11-11 13:40:52 +00:00
parent 37e79f7c3a
commit b02d7f41ae
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -124,10 +124,10 @@ namespace Components
} }
} }
Game::dvar_t* Movement::Dvar_RegisterLastStandSpeedScale(const char* name, float defaultVal, float min, float max, int, const char*) Game::dvar_t* Movement::Dvar_RegisterLastStandSpeedScale(const char* name, float defaultVal, float min, float max, int, const char* desc)
{ {
Movement::PlayerLastStandCrawlSpeedScale = Dvar::Register<float>(name, defaultVal, Movement::PlayerLastStandCrawlSpeedScale = Dvar::Register<float>(name, defaultVal,
min, max, Game::DVAR_FLAG_CHEAT | Game::DVAR_FLAG_REPLICATED, "TEST DESC"); min, max, Game::DVAR_FLAG_CHEAT | Game::DVAR_FLAG_REPLICATED, desc);
return Movement::PlayerLastStandCrawlSpeedScale.get<Game::dvar_t*>(); return Movement::PlayerLastStandCrawlSpeedScale.get<Game::dvar_t*>();
} }