Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/libs/location/src/character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ void Character::Update(float dltTime)
isSlide = ptc.isSlide;
if (ptc.isSlide && isEnableJump)
{
if (fall.name && !isFight && !priorityAction.name)
if (jump.name && !isFight && !priorityAction.name)
{
if (TestJump(curPos + CVECTOR(0.001f * sinf(ay), -0.001f, 0.001f * cosf(ay))))
{
Expand All @@ -2420,7 +2420,7 @@ void Character::Update(float dltTime)
jumpSound = SOUND_INVALID_ID;
PlaySound("clothes");
if (fabsf(curPos.y - osculationPoint.y) > 1.5f)
SetPriorityAction(fall.name);
SetPriorityAction(jump.name);
return;
}
}
Expand Down Expand Up @@ -4090,10 +4090,10 @@ void Character::UpdateAnimation()
}
else if (isJump)
{
if (!SetAction(fall.name, fall.tblend, 0.0f, 0.0f))
/*if (!SetAction(fall.name, fall.tblend, 0.0f, 0.0f))
{
core.Trace("Character animation: not fall action: \"%s\"", fall.name);
}
}*/
}
else if (isMove)
{
Expand Down
Loading