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) if (looping)
currentFrame = 0; currentFrame = 0;
else { else {
nextFrameTime = 0.0; nextFrameTime = 0.0f;
currentFrame = 0; currentFrame = 0;
return; return;
} }
@ -201,7 +201,7 @@ int HUDHandleClass;
- (void) stop - (void) stop
{ {
nextFrameTime = 0.0; nextFrameTime = 0.0f;
currentFrame = 0; currentFrame = 0;
} }

View file

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