fix looping effects not looping (#444)
tested by @in1tiate and said to be working
This commit is contained in:
parent
639d4738db
commit
9628ba6b07
@ -2536,7 +2536,7 @@ void Courtroom::do_effect(QString fx_name, QString fx_sound, QString p_char,
|
|||||||
// Static effects will linger.
|
// Static effects will linger.
|
||||||
ui_vp_effect->set_static_duration(0);
|
ui_vp_effect->set_static_duration(0);
|
||||||
ui_vp_effect->set_max_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)
|
void Courtroom::play_char_sfx(QString sfx_name)
|
||||||
|
Loading…
Reference in New Issue
Block a user