removed support for unused BDCFF tokens
authorHolger Schemel <holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:51:21 +0000 (20:51 +0200)
committerHolger Schemel <holger.schemel@virtion.de>
Thu, 15 Aug 2024 18:51:34 +0000 (20:51 +0200)
src/game_bd/bd_cave.c

index 1f41cf3a8a41b07c76a0d599aa37cc0c7a570ab2..495bc46af331ae8aa5224668221f4b80e7a1c615 100644 (file)
@@ -286,11 +286,6 @@ void gd_cave_init(void)
     hashtable_insert(name_to_element, key_1, INT_TO_PTR(i));
     // ^^^ do not free "key_1", as hash table needs it during the whole time!
 
-    char *key_2 = getStringCat2("SCANNED_", key_1);    // new string
-
-    hashtable_insert(name_to_element, key_2, INT_TO_PTR(i));
-    // once again, do not free "key_2" ^^^
-
     char *key_3 = getStringCat2("SCANN_", key_1);      // new string
 
     hashtable_insert(name_to_element, key_3, INT_TO_PTR(i));