mirror of
https://github.com/phoboslab/wipeout-rewrite
synced 2024-12-26 09:59:04 +01:00
Show correct team logo in team selection menu; close #32
This commit is contained in:
parent
7760f83ce1
commit
dae45b786a
1 changed files with 2 additions and 1 deletions
|
@ -417,7 +417,8 @@ static void button_team_select(menu_t *menu, int data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void page_team_draw(menu_t *menu, int data) {
|
static void page_team_draw(menu_t *menu, int data) {
|
||||||
draw_model(models.teams[data], vec2(0, -0.2), vec3(0, 0, -10000), system_cycle_time());
|
int team_model_index = (data + 3) % 4; // models in the prm are shifted by -1
|
||||||
|
draw_model(models.teams[team_model_index], vec2(0, -0.2), vec3(0, 0, -10000), system_cycle_time());
|
||||||
draw_model(g.ships[def.teams[data].pilots[0]].model, vec2(0, -0.3), vec3(-700, -800, -1300), system_cycle_time()*1.1);
|
draw_model(g.ships[def.teams[data].pilots[0]].model, vec2(0, -0.3), vec3(-700, -800, -1300), system_cycle_time()*1.1);
|
||||||
draw_model(g.ships[def.teams[data].pilots[1]].model, vec2(0, -0.3), vec3( 700, -800, -1300), system_cycle_time()*1.2);
|
draw_model(g.ships[def.teams[data].pilots[1]].model, vec2(0, -0.3), vec3( 700, -800, -1300), system_cycle_time()*1.2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue