fix looping effects not looping (#444)

tested by @in1tiate and said to be working
This commit is contained in:
Crystalwarrior 2021-01-29 15:09:35 +03:00 committed by GitHub
parent 639d4738db
commit 9628ba6b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2536,7 +2536,7 @@ void Courtroom::do_effect(QString fx_name, QString fx_sound, QString p_char,
// Static effects will linger.
ui_vp_effect->set_static_duration(0);
ui_vp_effect->set_max_duration(0);
ui_vp_effect->load_image(effect, false);
ui_vp_effect->load_image(effect, true);
}
void Courtroom::play_char_sfx(QString sfx_name)