View | Details | Raw Unified | Return to bug 208842 | Differences between
and this patch

Collapse All | Expand All

(-)games/kuklomenos/files/patch-node.cc (+11 lines)
Line 0 Link Here
1
--- node.cc.orig	2009-10-04 14:01:21 UTC
2
+++ node.cc
3
@@ -175,7 +175,7 @@ Uint32 Node::colour() const
4
 	{
5
 	    intensity = (status == NODEST_NONE ? 0x80 : 0xbf);
6
 	    intensity += int( (0xff - intensity) *
7
-		    std::max(0.0, 1 - ( fabs(angleDiff(spin*3, 0)) * 2 )) );
8
+		    std::max(0.0f, 1 - ( fabsf(angleDiff(spin*3, 0)) * 2 )) );
9
 	}
10
     }
11
     else

Return to bug 208842