View Single Post
  #25  
Old 04-13-2011, 04:02 PM
hedbonker hedbonker is offline
Sarnak

hedbonker's Avatar

Join Date: Aug 2010
Location: The Shire
Posts: 403
Default

For the unwashed masses, this:

Quote:
if ( *(_DWORD *)(this + 608) == 60 ) // race offset of eqplayer
{
if ( v4 > 0 ) // check to see if the texture passed to change the texture is above 0
*(_BYTE *)(this + 596) = 0; //assign offset in eqplayer for texture to 0
}
Can be thought of as this:

Quote:
private void UpdateTexture(player EQPlayer, texture RequestedTexture)
{
if ( EQPlayer.Race==60 && RequestedTexture.Value > 0 )
{
EQPlayer.Texture ==0;
return;
}

// Perform texture update here
}
__________________
p1999 - Hedbonker - Level 50-something Hafler cleric