Removed non-working SetName failsafes from _00E_HorseFlute_SC (called on actor forms)

This commit is contained in:
Eddoursul 2024-02-08 17:40:51 +01:00
parent 5ffd5d7e97
commit f53bca8765
2 changed files with 0 additions and 7 deletions

Binary file not shown.

View File

@ -59,18 +59,14 @@ Function PrepareTeleport()
; if the player only has one mount, summon it immediately ; if the player only has one mount, summon it immediately
; if the player has multiple mounts, show as prompt on which one to summon ; if the player has multiple mounts, show as prompt on which one to summon
; this also contains a failsafe regarding the name of the mounts, otherwise the names do not persist in consecutive saves
If _00E_MountGlobal.GetValueInt() == 1 If _00E_MountGlobal.GetValueInt() == 1
If _00E_MuleOwned.GetValueInt() == 1 If _00E_MuleOwned.GetValueInt() == 1
TeleportMount(PlayerEsel) TeleportMount(PlayerEsel)
PlayerEsel.SetName(NQ06_Freda.sMuleName)
ElseIf _00E_HorseOwned.GetValueInt() == 1 ElseIf _00E_HorseOwned.GetValueInt() == 1
TeleportMount(PlayerHorse) TeleportMount(PlayerHorse)
PlayerHorse.SetName(NQ06_Freda.sHorseName)
ElseIf _00E_FathersShadowOwned.GetValueInt() == 1 ElseIf _00E_FathersShadowOwned.GetValueInt() == 1
TeleportMount(FS_NQR05_FatherShadowREF) TeleportMount(FS_NQR05_FatherShadowREF)
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName)
EndIf EndIf
ElseIf _00E_MountGlobal.GetValueInt() > 1 ElseIf _00E_MountGlobal.GetValueInt() > 1
@ -78,13 +74,10 @@ Function PrepareTeleport()
iButton = SelectionMenu.show() iButton = SelectionMenu.show()
If iButton == 0 If iButton == 0
TeleportMount(PlayerEsel) TeleportMount(PlayerEsel)
PlayerEsel.SetName(NQ06_Freda.sMuleName)
ElseIf iButton == 1 ElseIf iButton == 1
TeleportMount(PlayerHorse) TeleportMount(PlayerHorse)
PlayerHorse.SetName(NQ06_Freda.sHorseName)
ElseIf iButton == 2 ElseIf iButton == 2
TeleportMount(FS_NQR05_FatherShadowREF) TeleportMount(FS_NQR05_FatherShadowREF)
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName)
ElseIf iButton == 3 ElseIf iButton == 3
NQ06_Freda.RenameMount(true) NQ06_Freda.RenameMount(true)
EndIf EndIf