Quote:
Originally Posted by .Pixelhut™
versuchs mal so
Code:
if( pWorld->GetID() == WI_WORLD_GUILDWAR );
( pWorld->GetID() == WI_WORLD_ARENA )
|
??
(World3D.cpp)
Such nach:
Code:
memset( CWorld::m_amvrSelect, 0, sizeof(CMover*) * MAX_MOVERSELECT );
Du findest:
Code:
if( GetID() == WI_WORLD_GUILDWAR )
{
bScan = TRUE;
}
weiter unten nach
Code:
CMover* pMover = (CMover*)pObj;
suchen.
Ersetz dein Crap der nach dem was du oben gefunden hast kommt, mit dem hier:
Code:
if( pMover->IsPlayer() && !pMover->IsDie() && !pMover->IsMode( TRANSPARENT_MODE ) )
{
if( pMover->GetWorld()->GetID() == DEINE WORLDID )
{
if( pObj->IsRangeObj( g_pPlayer->GetPos(), 20.0f ) )
CWorld::m_amvrSelect[nCount++] = pMover;
}
else
{
CGuild* pGuild1 = g_pPlayer->GetGuild();
CGuild* pGuild2 = pMover->GetGuild();
if( pGuild1 && pGuild2 )
{
if( pGuild1->GetGuildId() != pGuild2->GetGuildId() )
{
if( pObj->IsRangeObj( g_pPlayer->GetPos(), 20.0f ) )
{
CWorld::m_amvrSelect[nCount++] = pMover;
}
}
}
}
}