From d60d759e1a7fc0dcf7ff00605b41c0a41bf96b5a Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Wed, 4 Sep 2024 19:16:24 -0400 Subject: [PATCH] Delete an obsolete TODO This random number was probably to randomly choose between the "darn" and "dang" sounds, which no longer exist in Blades of Exile. --- src/game/boe.party.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/game/boe.party.cpp b/src/game/boe.party.cpp index 22c89edc0..92e0eb088 100644 --- a/src/game/boe.party.cpp +++ b/src/game/boe.party.cpp @@ -2115,9 +2115,7 @@ void do_alchemy() { short skill = univ.party[pc_num].skill(eSkill::ALCHEMY); if(r1 < info.fail_chance(skill)) { add_string_to_buf("Alchemy: Failed."); - r1 = get_ran(1,0,1); - (void) r1; // TODO: Why does it even do this? - play_sound(41 ); + play_sound(41); } else { cItem store_i(potion);