projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
851b2da
)
fixed comment
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 23:39:33 +0000
(
00:39
+0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 19 Nov 2024 23:39:33 +0000
(
00:39
+0100)
src/game_bd/bd_caveobject.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_caveobject.c
b/src/game_bd/bd_caveobject.c
index 5f6c9818a22680aba2fb607f174c6e6b87d90384..421d8c2494752aad14ba33e82f30609b289b5d48 100644
(file)
--- a/
src/game_bd/bd_caveobject.c
+++ b/
src/game_bd/bd_caveobject.c
@@
-1548,7
+1548,9
@@
GdCave *gd_cave_new_rendered(const GdCave *data, const int level, const unsigned
if (data->level_slime_seed_c64[level] != -1)
{
- // if a specific slime seed is requested, change it now.
+ // if a specific slime seed is requested, change it now, after creating map data
+ // if there is -1 in the c64 random seed,
+ // it means "leave the values those left here by the cave setup routine"
gd_cave_c64_random_set_seed(cave,
data->level_slime_seed_c64[level] / 256,