summaryrefslogtreecommitdiffstats
path: root/Smoke/palette.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/palette.c')
-rw-r--r--Smoke/palette.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Smoke/palette.c b/Smoke/palette.c
index a17c143..a653db7 100644
--- a/Smoke/palette.c
+++ b/Smoke/palette.c
@@ -146,7 +146,7 @@ static struct color4f trip_like_i_do(float value)
return_value.b = 0;
return_value.g = 0;
- val = (int)(value *100) %10;
+ val = (int)(value * 100) % 10;
return_value.r = trip_like_i_do_arr[val][0];
return_value.g = trip_like_i_do_arr[val][1];
@@ -161,7 +161,7 @@ static struct color4f colormap_fire(float value)
struct color4f return_value;
return_value.r = value;
- return_value.g = value / 5.0f;
+ return_value.g = value / 3.0f;
return_value.b = 0.0f;
return return_value;