fixes (TM)

This commit is contained in:
iamgoofball 2018-10-17 09:44:15 -07:00
parent ad27e00433
commit 5325083b6f
2 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ void AOMovie::play(QString p_gif, QString p_char, QString p_custom_theme)
QString custom_path; QString custom_path;
if (p_gif == "custom") if (p_gif == "custom")
custom_path = ao_app->get_character_path(p_char) + p_gif + ".gif"; custom_path = ao_app->get_image_suffix(ao_app->get_character_path(p_char) + p_gif);
else else
custom_path = ao_app->get_character_path(p_char) + p_gif + "_bubble.gif"; custom_path = ao_app->get_image_suffix(ao_app->get_character_path(p_char) + p_gif + "_bubble");
QString custom_theme_path = ao_app->get_base_path() + "themes/" + p_custom_theme + "/" + p_gif + ".gif"; QString custom_theme_path = ao_app->get_base_path() + "themes/" + p_custom_theme + "/" + p_gif + ".gif";
QString theme_path = ao_app->get_theme_path() + p_gif + ".gif"; QString theme_path = ao_app->get_theme_path() + p_gif + ".gif";

View File

@ -703,7 +703,7 @@ void Courtroom::enter_courtroom(int p_cid)
QString char_path = ao_app->get_character_path(current_char); QString char_path = ao_app->get_character_path(current_char);
if (ao_app->custom_objection_enabled && if (ao_app->custom_objection_enabled &&
file_exists(char_path + "custom.gif") && (file_exists(char_path + "custom.gif") || file_exists(char_path + "custom.apng")) &&
file_exists(char_path + "custom.wav")) file_exists(char_path + "custom.wav"))
ui_custom_objection->show(); ui_custom_objection->show();
else else