Feb 12, 2013 at 3:26am
Below is my code, I have been tring to work through
this but nothing seems to work, any sujestions?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
//Loop through the palettes of previously equipped items
{
for ( itObject = m_pcAvatar->m_lstInventory.begin( ); itObject != m_pcAvatar->m_lstInventory.end( ); ++itObject )
{
if ( ( *itObject )->m_fEquipped == 2 )
{
cItemModels *pcItemInv = cItemModels::FindModel(( *itObject )->GetItemModelID());
if ( ( *itObject )->m_bWearPaletteChange != 0)
{
{
for (int i = 0; i < ( *itObject )->m_bWearPaletteChange; i++)
}
{
cWrChange.pasteData((UCHAR*)&( *itObject )->m_WearVectorPal[i],sizeof(( *itObject )->m_WearVectorPal[i]));
}
}
}
}
| |
Last edited on Feb 12, 2013 at 3:26am
Feb 12, 2013 at 5:03am
Is that really the entirety of your code? I'm thinking not.
And what's the error message?