mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
Fixed implicit cast from bool to double.
This commit is contained in:
parent
6f8901ea87
commit
269431575b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue