Correct pilots logo models drawn in main menu

This commit is contained in:
LuKP17 2023-10-28 19:31:08 +02:00 committed by GitHub
parent 9e33288a37
commit e0c94d473c
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) { 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) { static void page_pilot_init(menu_t *menu) {