X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_routes.h;h=97fc557b604201517f4240a43a15f4c20cf4715b;hb=bdac014448b6ec968fe645f1581f321144f07dba;hp=312429579a0fcd021d9b3cfe966d85424f9e4919;hpb=47941822dae18a018c985847b052e70214a3ccc6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_routes.h b/world_routes.h index 3124295..97fc557 100644 --- a/world_routes.h +++ b/world_routes.h @@ -221,8 +221,6 @@ VG_STATIC struct route_ui_segment *world_routes_ui_curseg( VG_STATIC void world_routes_ui_newseg( u32 route ) { struct route_ui_bar *pui = &world.ui_bars[route]; - - pui->last_notch = 0.0; glBindVertexArray( pui->vao ); if( pui->segment_count ) @@ -996,7 +994,6 @@ VG_STATIC void world_routes_create_route( mdl_node *pnode ) pui->vertex_head = k_route_ui_max_verts - 200; pui->segment_start = 0; pui->segment_count = 0; - pui->last_notch = 0.0; pui->fade_start = 0; pui->fade_count = 0; pui->fade_timer_start = 0.0;