Merge pull request #98 from LuKP17/pilots-logo-draw-index

Correct pilots logo models drawn in main menu
This commit is contained in:
Dominic Szablewski 2023-10-29 17:57:53 +01:00 committed by GitHub
commit 278bf12bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,7 +453,7 @@ static void button_pilot_select(menu_t *menu, int data) {
}
static void page_pilot_draw(menu_t *menu, int data) {
draw_model(models.pilots[data], vec2(0, -0.2), vec3(0, 0, -10000), system_cycle_time());
draw_model(models.pilots[def.pilots[data].logo_model], vec2(0, -0.2), vec3(0, 0, -10000), system_cycle_time());
}
static void page_pilot_init(menu_t *menu) {