X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_entity.c;h=947a3bdc387c11a13ffa6b980231c5e42fefa619;hb=254d76308dc12891c65b8fb5d5edae7152164e9a;hp=04bbec9891749740e2cc8d51534e710b16371077;hpb=2c38f7b8f422374c4c46c5b636a7275b61876192;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_entity.c b/world_entity.c index 04bbec9..947a3bd 100644 --- a/world_entity.c +++ b/world_entity.c @@ -81,12 +81,14 @@ static void world_entity_focus_preupdate(void){ /* additional renderings like text etc.. */ static void world_entity_focus_render(void){ - if( skaterift.activity != k_skaterift_ent_focus ) + world_instance *world = world_current_instance(); + if( skaterift.activity != k_skaterift_ent_focus ){ + skateshop_render_nonfocused( world, &skaterift.cam ); return; + } u32 type = mdl_entity_id_type( world_static.focused_entity ), index = mdl_entity_id_id( world_static.focused_entity ); - world_instance *world = world_current_instance(); if( type == k_ent_skateshop ){ ent_skateshop *skateshop = mdl_arritm( &world->ent_skateshop, index );