Advertisement
dcomicboy

example

Apr 2nd, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. if (!pFX)
  2. {
  3. CSpecialFX* pNewFX = g_pGameClientShell->GetSFXMgr()->CreateSFX(SFX_SCALE_ID, &scale);
  4. if (pNewFX)
  5. {
  6. pNewFX->Update();
  7. }
  8.  
  9. return pNewFX;
  10. }
  11. else
  12. {
  13. pFX->Init(&scale);
  14. if (!pFX->CreateObject(g_pLTClient))
  15. return LTNULL;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement