Fixed implicit cast from bool to double.

This commit is contained in:
CandiceJoy 2022-12-26 16:17:32 -05:00 committed by Rachael Alexanderson
parent 6f8901ea87
commit 269431575b

View file

@ -227,7 +227,7 @@ struct userinfo_t : TMap<FName,FBaseCVar *>
{ {
return *static_cast<FFloatCVar *>(*CheckKey(NAME_MoveBob)); return *static_cast<FFloatCVar *>(*CheckKey(NAME_MoveBob));
} }
double GetFViewBob() const bool GetFViewBob() const
{ {
return *static_cast<FBoolCVar *>(*CheckKey(NAME_FViewBob)); return *static_cast<FBoolCVar *>(*CheckKey(NAME_FViewBob));
} }