From 39df9c0c87785d3fbc5589bd7bf403b7d012464c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 15 Feb 2020 18:17:18 +0900 Subject: [PATCH] Fix some more double related warnings Fewer than I expected --- ruamoko/cl_menu/HUD.r | 4 ++-- ruamoko/game/Axe.r | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruamoko/cl_menu/HUD.r b/ruamoko/cl_menu/HUD.r index 48bfc916f..b0ff525b2 100644 --- a/ruamoko/cl_menu/HUD.r +++ b/ruamoko/cl_menu/HUD.r @@ -166,7 +166,7 @@ int HUDHandleClass; if (looping) currentFrame = 0; else { - nextFrameTime = 0.0; + nextFrameTime = 0.0f; currentFrame = 0; return; } @@ -201,7 +201,7 @@ int HUDHandleClass; - (void) stop { - nextFrameTime = 0.0; + nextFrameTime = 0.0f; currentFrame = 0; } diff --git a/ruamoko/game/Axe.r b/ruamoko/game/Axe.r index 2ea71f0ef..7e3c49745 100644 --- a/ruamoko/game/Axe.r +++ b/ruamoko/game/Axe.r @@ -14,7 +14,7 @@ - (id) init { [super init]; - damage = (deathmatch > 3) ? 75.0 : 20.0; + damage = (deathmatch > 3) ? 75.0f : 20.0f; return self; }