.
void CPlayerEntity::EnemyTargetSelected_InputTab(BOOL bDelta) {}
if( pMsg->wParam == VK_TAB )
{
if ( !(g_iCountry == JAPAN || IsGamigo(g_iCountry)) )
{
//_pUIMgr->GetInventory()->ToggleVisible();
BOOL bDelta = FALSE;
if (g_InputTabTime > 0)
{
INT64 DeltaTime = _pTimer->GetHighPrecisionTimer().GetMilliseconds() - g_InputTabTime;
if (DeltaTime < 500)
{
bDelta = TRUE;
}
}
g_InputTabTime = _pTimer->GetHighPrecisionTimer().GetMilliseconds();
CEntity *penPlEntity;
CPlayerEntity *penPlayerEntity;
penPlEntity = CEntity::GetPlayerEntity( 0 );
penPlayerEntity = static_cast<CPlayerEntity *>(penPlEntity);
penPlayerEntity->EnemyTargetSelected_InputTab(bDelta);
return TRUE;
}
return FALSE;
}