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);
}
**********************************************************************************************************************************************************************************************