aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/aolayer.cpp2
-rw-r--r--src/courtroom.cpp9
2 files changed, 1 insertions, 10 deletions
diff --git a/src/aolayer.cpp b/src/aolayer.cpp
index f0d5779e..18213ce1 100644
--- a/src/aolayer.cpp
+++ b/src/aolayer.cpp
@@ -156,7 +156,7 @@ void CharLayer::load_image(QString p_filename, QString p_charname,
transform_mode = ao_app->get_scaling(
ao_app->get_emote_property(p_charname, p_filename, "scaling"));
stretch = ao_app->get_emote_property(p_charname, p_filename, "stretch")
- .startsWith(true);
+ .startsWith("true");
if ((p_charname == last_char) &&
((p_filename == last_emote) ||
(p_filename.mid(3, -1) == last_emote.mid(3, -1))) &&
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index e5063954..5eafe60a 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1990,15 +1990,6 @@ void Courtroom::chatmessage_enqueue(QStringList p_contents)
void Courtroom::chatmessage_dequeue()
{
- // Chat stopped being processed, indicate that the user can post their message now.
- QString f_custom_theme;
- if (ao_app->is_customchat_enabled()) {
- QString f_char = m_chatmessage[CHAR_NAME];
- f_custom_theme = ao_app->get_chat(f_char);
- }
- ui_vp_chat_arrow->transform_mode = ao_app->get_misc_scaling(f_custom_theme);
- ui_vp_chat_arrow->load_image("chat_arrow", f_custom_theme);
-
// Nothing to parse in the queue
if (chatmessage_queue.isEmpty())
return;