Skip to content

Commit c893fa8

Browse files
committed
Reverted 7b37800 as it crashes the Batlin Wall of Light scene
1 parent f662f6e commit c893fa8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

usecode/intrinsics.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,8 +2417,7 @@ USECODE_INTRINSIC(start_speech) {
24172417
bool okay = false;
24182418
speech_track = parms[0].get_int_value();
24192419
if (speech_track >= 0) {
2420-
ucmachine->do_speech(speech_track);
2421-
okay = true;
2420+
okay = Audio::get_ptr()->start_speech(speech_track);
24222421
}
24232422
if (!okay) {
24242423
// Failed? Clear faces. (Fixes SI).
@@ -2445,8 +2444,7 @@ USECODE_INTRINSIC(start_blocking_speech) {
24452444
bool okay = false;
24462445
speech_track = parms[0].get_int_value();
24472446
if (speech_track >= 0) {
2448-
ucmachine->do_speech(speech_track);
2449-
okay = true;
2447+
okay = Audio::get_ptr()->start_speech(speech_track);
24502448
}
24512449
if (!okay) {
24522450
// Failed? Clear faces. (Fixes SI).

0 commit comments

Comments
 (0)