mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 23:05:24 +02:00
stop HP bar from going down for party closing animation
This commit is contained in:
parent
fb64e8dd07
commit
b3d6195391
@ -323,7 +323,12 @@ Public Class PartyScreen
|
|||||||
'108 pixels:
|
'108 pixels:
|
||||||
With p
|
With p
|
||||||
Dim hpV As Double = .HP / .MaxHP
|
Dim hpV As Double = .HP / .MaxHP
|
||||||
Dim hpWidth As Integer = CInt((104 * _interfaceFade) * hpV)
|
Dim hpWidth As Integer
|
||||||
|
If _closing Then
|
||||||
|
hpWidth = CInt(104 * hpV)
|
||||||
|
Else
|
||||||
|
hpWidth = CInt((104 * _interfaceFade) * hpV)
|
||||||
|
End If
|
||||||
Dim hpColorX As Integer = 0
|
Dim hpColorX As Integer = 0
|
||||||
If hpV < 0.5F Then
|
If hpV < 0.5F Then
|
||||||
hpColorX = 5
|
hpColorX = 5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user