mirror of
https://gitlab.com/kholdfuzion/goldeneye_src
synced 2026-09-09 19:31:18 -04:00
22 lines
516 B
C
22 lines
516 B
C
#include <ultra64.h>
|
|
|
|
void set_favorite_weapon_for_every_player(void) {
|
|
int right_hand;
|
|
int left_hand;
|
|
int player_count;
|
|
int current_player;
|
|
int player;
|
|
|
|
player_count = getPlayerCount();
|
|
current_player = get_cur_playernum();
|
|
|
|
for (player = 0; player < player_count; player++) {
|
|
set_cur_player(player);
|
|
bondinvGetWeaponOfChoice(&right_hand, &left_hand);
|
|
store_favorite_weapon_current_player(right_hand, left_hand);
|
|
}
|
|
|
|
set_cur_player(current_player);
|
|
}
|
|
|