Fix some more double related warnings

Fewer than I expected
This commit is contained in:
Bill Currie 2020-02-15 18:17:18 +09:00
parent 344d429134
commit 39df9c0c87
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -14,7 +14,7 @@
- (id) init
{
[super init];
damage = (deathmatch > 3) ? 75.0 : 20.0;
damage = (deathmatch > 3) ? 75.0f : 20.0f;
return self;
}