battle: Rename unfortunately named variables to be more inclusive. (#97)
This commit is contained in:
parent
1b9f1ca888
commit
872a0659cd
1 changed files with 3 additions and 3 deletions
|
@ -98,10 +98,10 @@ def __createFishingPoleMultiTrack(lure, dollar, dollarName):
|
|||
suitTrack.append(Func(suit.loop, 'neutral'))
|
||||
suitTrack.append(Wait(3.5))
|
||||
suitName = suit.getStyleName()
|
||||
retardPos, retardHpr = battle.getActorPosHpr(suit)
|
||||
retardPos.setY(retardPos.getY() + MovieUtil.SUIT_EXTRA_REACH_DISTANCE)
|
||||
luredPos, luredHpr = battle.getActorPosHpr(suit)
|
||||
luredPos.setY(luredPos.getY() + MovieUtil.SUIT_EXTRA_REACH_DISTANCE)
|
||||
if suitName in MovieUtil.largeSuits:
|
||||
moveTrack = lerpSuit(suit, 0.0, reachAnimDuration / 2.5, retardPos, battle, trapProp)
|
||||
moveTrack = lerpSuit(suit, 0.0, reachAnimDuration / 2.5, luredPos, battle, trapProp)
|
||||
reachTrack = ActorInterval(suit, 'reach', duration=reachAnimDuration)
|
||||
suitTrack.append(Parallel(moveTrack, reachTrack))
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue