Advertisement
Guest User

Untitled

a guest
Jun 24th, 2013
3,137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.70 KB | None | 0 0
  1. do {
  2.     bOk = TRUE;
  3.     nCurrentIdleAction = rand() % idle_actions_max;
  4.     if (((nOstrichColor == 1) && ((nCurrentIdleAction == 5) || (nCurrentIdleAction == 6))) ||   //blue
  5.     ((nOstrichColor == 2) && ((nCurrentIdleAction == 3) || (nCurrentIdleAction == 4))) ||   //yellow
  6.     ((nLRLevel == 0) && (nCurrentIdleAction == 2)) ||
  7.     ((nLRLevel > 0) && ((nCurrentIdleAction == 0) || (nCurrentIdleAction == 1) || (nCurrentIdleAction == 13))) ||
  8.     ((nLRLevel > 0) && ((nCurrentIdleAction >= 3) && (nCurrentIdleAction <= 6))) ||
  9.     //(bStrut == true && (nCurrentIdleAction <= 12)) ||
  10.     ((Prototype::ProfileManager::Instance()->GetPracticeMode()) && (nCurrentIdleAction == 13))) //box @ practice mode
  11.     {
  12.     bOk = FALSE;
  13.     }
  14. } while (!bOk);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement