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
}
|