[fix] jap speed

This commit is contained in:
kimnuri
2025-11-30 18:23:57 +09:00
parent 6a99d5193a
commit 42114612b7
2 changed files with 6 additions and 4 deletions
@@ -63,9 +63,11 @@ HRESULT CLevel_GamePlay::Initialize()
void CLevel_GamePlay::Update(_float fTimeDelta)
{
if (m_pGameInstance->Key_Up(DIK_ADD))
{
m_pGameInstance->Set_LevelToChange();
if (m_pGameInstance->Key_Pressing(DIK_0)) {
if (m_pGameInstance->Key_Up(DIK_1))
{
m_pGameInstance->Set_LevelToChange();
}
}
m_pInfoInstance->Update(fTimeDelta);
+1 -1
View File
@@ -99,7 +99,7 @@ void CNomalJap::Update(_float fTimeDelta)
XMStoreFloat3(&m_vDirection, XMVector4Normalize(vTargetPos - vCurrentPos));
_float fDistance = XMVectorGetX(XMVector3Length(vTargetPos - vCurrentPos));
m_fLinearSpeed = fDistance / (m_fDuration - m_fAccTime);
m_fLinearSpeed = fDistance / (m_fDuration - m_fAccTime) * 10 / 3;
SAFE_RELEASE(m_pTargetUnit);
}
return;