Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void B_NextBase_f (void)
- {
- base_t *base = B_GetCurrentSelectedBase();
- if (!base)
- return;
- base = B_GetNextFounded(base);
- /* if it was the last base, select the first */
- if (!base)
- B_GetNextFounded(NULL);
- if (base)
- B_SelectBase(base);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement