From 269431575bb7b9869a20dc52f65f647256b04de8 Mon Sep 17 00:00:00 2001 From: CandiceJoy Date: Mon, 26 Dec 2022 16:17:32 -0500 Subject: [PATCH] Fixed implicit cast from bool to double. --- src/playsim/d_player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playsim/d_player.h b/src/playsim/d_player.h index 27fd860dd..4ee4cfeb7 100644 --- a/src/playsim/d_player.h +++ b/src/playsim/d_player.h @@ -227,7 +227,7 @@ struct userinfo_t : TMap { return *static_cast(*CheckKey(NAME_MoveBob)); } - double GetFViewBob() const + bool GetFViewBob() const { return *static_cast(*CheckKey(NAME_FViewBob)); }