projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c88cd
)
minor change (no functional change)
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 20:50:10 +0000
(21:50 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 20:50:10 +0000
(21:50 +0100)
src/game_bd/bd_cave.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_cave.c
b/src/game_bd/bd_cave.c
index 63703d529915cfa38ad0504a97c0cb9d1c276a09..492b6882d10bde16c330d4a3f12ec47ddb20a793 100644
(file)
--- a/
src/game_bd/bd_cave.c
+++ b/
src/game_bd/bd_cave.c
@@
-924,9
+924,9
@@
static void gd_cave_set_random_rgb_colors(GdCave *cave)
if (gd_random_boolean()) swapd(&s2, &s3);
if (gd_random_boolean()) swapd(&s1, &s3);
- h1
= h1 *
360.0;
- h2
= h2 *
360.0;
- h3
= h3 *
360.0;
+ h1
*=
360.0;
+ h2
*=
360.0;
+ h3
*=
360.0;
cave->colorb = gd_color_get_from_hsv(0, 0, 0);
cave->color0 = gd_color_get_from_hsv(0, 0, 0); // black for background