changed order of checks and initialization of cave structures
authorHolger Schemel <holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:27:45 +0000 (20:27 +0200)
committerHolger Schemel <holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:27:45 +0000 (20:27 +0200)
commit78acaceaaa88487d1ff98c056759a285e5c600e3
tree3dedfec759661a424e49875582c8d46bddc17252
parentcf3cf01f81522e8751d9a0d3100cd0c1e342d5fc
changed order of checks and initialization of cave structures

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