fixed displaying objection+preanim

This commit is contained in:
cidoku 2025-02-14 13:31:54 -03:00
parent 66a6e4a77f
commit 8d99ad03ce

View File

@ -1978,8 +1978,7 @@ class gui(QtGui.QWidget):
vert_offset = int(self.m_chatmessage[SELF_OFFSET].split(keyword)[1]) if len(self.m_chatmessage[SELF_OFFSET].split(keyword)) > 1 else 0
else:
hor_offset = int(self.m_chatmessage[SELF_OFFSET])
if side == "def":
if hor_offset > 0 and vert_offset == 0:
vert_offset = hor_offset / 10
@ -2052,7 +2051,7 @@ class gui(QtGui.QWidget):
self.sidechar.hide()
self.sidechar.move(0, 0)
if (emote_mod == 1 or emote_mod == 6) and self.m_chatmessage[PREANIM] != "-":
if (emote_mod == 1 or emote_mod == 2 or emote_mod == 6) and self.m_chatmessage[PREANIM] != "-":
self.play_preanim(False)
elif emote_mod == 0 or emote_mod == 5 or self.m_chatmessage[PREANIM] == "-":
if self.m_chatmessage[NO_INTERRUPT] == "0" or self.m_chatmessage[PREANIM] == "-":