Skip to content

Commit be953f1

Browse files
committed
Voice Line Randomizer: Fix rural_bank_heist softlock (again)
* Heavyweight Strut Brace * Check previous commit for more information
1 parent 9ad7dd2 commit be953f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sounds/voicelines.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ class VoiceLineRandomizer
104104
});
105105

106106
if (res != std::end (mSounds))
107-
sm_State.CurrentPair = &*res;
107+
{
108+
sm_State.CurrentPair = &*res;
109+
return true;
110+
}
108111

109-
return sm_State.CurrentPair != nullptr;
112+
return false;
110113
}
111114

112115
/*******************************************************/

0 commit comments

Comments
 (0)