From: Holger Schemel Date: Thu, 15 Aug 2024 18:51:21 +0000 (+0200) Subject: removed support for unused BDCFF tokens X-Git-Tag: 4.4.0.0-test-4~308 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=de3b03d2142d5fedb7564a83eec361271647b654;p=rocksndiamonds.git removed support for unused BDCFF tokens --- diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index 1f41cf3a..495bc46a 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -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));