save last pos for first person view
This commit is contained in:
parent
e4005b5492
commit
1c082a6c9e
@ -1061,6 +1061,7 @@ class GUI(QtGui.QWidget):
|
||||
blankBlip = False
|
||||
chatMessageIsEmpty = False
|
||||
animIsEmpty = False
|
||||
lastSide = "wit"
|
||||
isAdditive = False
|
||||
additiveChar = -1
|
||||
animState = 3
|
||||
@ -3169,7 +3170,7 @@ class GUI(QtGui.QWidget):
|
||||
msg += self.charName.title() + "#"
|
||||
msg += ("" if self.cbFirstPerson.isChecked() else emote[2]) + "#" #anim
|
||||
msg += text + "#"
|
||||
msg += self.charSide + "#"
|
||||
msg += (self.lastSide if self.cbFirstPerson.isChecked() else self.charSide) + "#"
|
||||
|
||||
# sfx
|
||||
if self.boxSounds.currentIndex() > 0:
|
||||
@ -3179,7 +3180,6 @@ class GUI(QtGui.QWidget):
|
||||
else:
|
||||
msg += emote[4] + "#"
|
||||
|
||||
#msg += emote[4] + "#"
|
||||
msg += str(modifier) + "#" #emote modifier
|
||||
msg += str(self.myChar) + "#" #character ID
|
||||
msg += emote[5] + "#" #sfx delay
|
||||
@ -3610,6 +3610,7 @@ class GUI(QtGui.QWidget):
|
||||
if self.animIsEmpty:
|
||||
return
|
||||
side = self.mChatMessage[SIDE]
|
||||
self.lastSide = side
|
||||
# TODO: support custom positions
|
||||
if side not in self.defaultPositions:
|
||||
side = 'wit'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user