Fixed my error where I was using a local session variable rather than the proper user info for the weapon bob speed.

This commit is contained in:
raa-eruanna 2016-09-16 03:48:09 -04:00 committed by Christoph Oelckers
commit bc0624e3b2
2 changed files with 4 additions and 6 deletions

View file

@ -337,7 +337,7 @@ struct userinfo_t : TMap<FName,FBaseCVar *>
{
return *static_cast<FFloatCVar *>(*CheckKey(NAME_StillBob));
}
double GetWBobSpeed() const
float GetWBobSpeed() const
{
return *static_cast<FFloatCVar *>(*CheckKey(NAME_WBobSpeed));
}