This commit is contained in:
parent
bcc448ecca
commit
edc12f1ab1
2 changed files with 24 additions and 7 deletions
|
@ -42,12 +42,9 @@ bool hasParent=getFXParentPos(Pos);
|
|||
/*****************************************************************************/
|
||||
CFXBaseTrail::sList &CFXBaseTrail::moveHead()
|
||||
{
|
||||
if ( !( Flags & FX_FLAG_HIDDEN ) )
|
||||
{
|
||||
HeadIdx--;
|
||||
if (HeadIdx<0) HeadIdx+=LIST_SIZE;
|
||||
if (ListCount<LIST_SIZE) ListCount++;
|
||||
}
|
||||
HeadIdx--;
|
||||
if (HeadIdx<0) HeadIdx+=LIST_SIZE;
|
||||
if (ListCount<LIST_SIZE) ListCount++;
|
||||
|
||||
return(List[HeadIdx]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue