Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. static void B_NextBase_f (void)
  2. {
  3. base_t *base = B_GetCurrentSelectedBase();
  4.  
  5. if (!base)
  6. return;
  7.  
  8. base = B_GetNextFounded(base);
  9. /* if it was the last base, select the first */
  10. if (!base)
  11. B_GetNextFounded(NULL);
  12. if (base)
  13. B_SelectBase(base);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement