projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf3cf01
)
changed order of checks and initialization of cave structures
author
Holger Schemel
<holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:27:45 +0000
(20:27 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:27:45 +0000
(20:27 +0200)
This change ensures that the element properties array is checked for
consistency (in function "gd_cave_db_init()") before its values are
used (in function "gd_cave_init()").
src/game_bd/main_bd.c
patch
|
blob
|
history
diff --git
a/src/game_bd/main_bd.c
b/src/game_bd/main_bd.c
index 9f94b3b68596799f92d87dd5fa1bd7b475c09ca4..dc92297e33f8119209d11d77b994715cb1f466b3 100644
(file)
--- a/
src/game_bd/main_bd.c
+++ b/
src/game_bd/main_bd.c
@@
-33,8
+33,8
@@
void bd_open_all(void)
{
InitGraphicInfo_BD();
- gd_cave_init();
gd_cave_db_init();
+ gd_cave_init();
gd_c64_import_init_tables();