fixed displaying objection+preanim
This commit is contained in:
parent
66a6e4a77f
commit
8d99ad03ce
@ -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
|
vert_offset = int(self.m_chatmessage[SELF_OFFSET].split(keyword)[1]) if len(self.m_chatmessage[SELF_OFFSET].split(keyword)) > 1 else 0
|
||||||
else:
|
else:
|
||||||
hor_offset = int(self.m_chatmessage[SELF_OFFSET])
|
hor_offset = int(self.m_chatmessage[SELF_OFFSET])
|
||||||
|
|
||||||
|
|
||||||
if side == "def":
|
if side == "def":
|
||||||
if hor_offset > 0 and vert_offset == 0:
|
if hor_offset > 0 and vert_offset == 0:
|
||||||
vert_offset = hor_offset / 10
|
vert_offset = hor_offset / 10
|
||||||
@ -2052,7 +2051,7 @@ class gui(QtGui.QWidget):
|
|||||||
self.sidechar.hide()
|
self.sidechar.hide()
|
||||||
self.sidechar.move(0, 0)
|
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)
|
self.play_preanim(False)
|
||||||
elif emote_mod == 0 or emote_mod == 5 or self.m_chatmessage[PREANIM] == "-":
|
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] == "-":
|
if self.m_chatmessage[NO_INTERRUPT] == "0" or self.m_chatmessage[PREANIM] == "-":
|
||||||
|
Loading…
Reference in New Issue
Block a user