Skip to content

Commit

Permalink
Fixed implicit cast from bool to double.
Browse files Browse the repository at this point in the history
  • Loading branch information
CandiceJoy authored and madame-rachelle committed Dec 26, 2022
1 parent 6f8901e commit 2694315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playsim/d_player.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ struct userinfo_t : TMap<FName,FBaseCVar *>
{
return *static_cast<FFloatCVar *>(*CheckKey(NAME_MoveBob));
}
double GetFViewBob() const
bool GetFViewBob() const
{
return *static_cast<FBoolCVar *>(*CheckKey(NAME_FViewBob));
}
Expand Down

0 comments on commit 2694315

Please sign in to comment.