Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do {
- bOk = TRUE;
- nCurrentIdleAction = rand() % idle_actions_max;
- if (((nOstrichColor == 1) && ((nCurrentIdleAction == 5) || (nCurrentIdleAction == 6))) || //blue
- ((nOstrichColor == 2) && ((nCurrentIdleAction == 3) || (nCurrentIdleAction == 4))) || //yellow
- ((nLRLevel == 0) && (nCurrentIdleAction == 2)) ||
- ((nLRLevel > 0) && ((nCurrentIdleAction == 0) || (nCurrentIdleAction == 1) || (nCurrentIdleAction == 13))) ||
- ((nLRLevel > 0) && ((nCurrentIdleAction >= 3) && (nCurrentIdleAction <= 6))) ||
- //(bStrut == true && (nCurrentIdleAction <= 12)) ||
- ((Prototype::ProfileManager::Instance()->GetPracticeMode()) && (nCurrentIdleAction == 13))) //box @ practice mode
- {
- bOk = FALSE;
- }
- } while (!bOk);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement