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