CODE PUZZLES FROM OD :)

In this threat I encourage others and me to post some weird or overtalked code fragments from existing OD's code >_< :
1 Tile.cpp . How the internal if - else statement could be "pulled out ":) ?
1 Tile.cpp . How the internal if - else statement could be "pulled out ":) ?
- {l Code}: {l Select All Code}
**********************************************************************************************************************************************************************************************
if (ss)
{
//FIXME: This code should be moved over to the rendering thread and called via a RenderRequest
if (thisRequestIsForMe&&(ent!=NULL))
{
ent->setVisible(true);
}
addPlayerMarkingTile(p);
}
else
{
//FIXME: This code should be moved over to the rendering thread and called via a RenderRequest
if (thisRequestIsForMe&&(ent!=NULL))
{
ent->setVisible(false);
}
removePlayerMarkingTile(p);
}
**********************************************************************************************************************************************************************************************