This commit is contained in:
parent
92f0682887
commit
1efe7336c4
1 changed files with 20 additions and 24 deletions
|
@ -109,17 +109,13 @@ CFX *NewFX;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
NewFX->init();
|
|
||||||
// Pos=NewFX->getSizeForPlacement();
|
|
||||||
// Pos.vx=_pos->vx+(NewFXPos.vx/2);
|
|
||||||
// Pos.vy=_pos->vy+(NewFXPos.vy/2)-16;
|
|
||||||
// NewFX->setPos(&NewFXPos);
|
|
||||||
|
|
||||||
if (Parent)
|
if (Parent)
|
||||||
{
|
{
|
||||||
Parent->addChild(NewFX);
|
Parent->addChild(NewFX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NewFX->init();
|
||||||
|
|
||||||
return NewFX;
|
return NewFX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue