X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=ent_skateshop.c;h=281548248c472b4fdf386b522eb273088065be5e;hb=bd3a7e904be0fc97e70761cc957a28609d366586;hp=56d8c01fe8557bcde628799fde5cb8c3d377f988;hpb=6190deb68aa1c9e92ede62ea05c2a755bf5516de;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/ent_skateshop.c b/ent_skateshop.c index 56d8c01..2815482 100644 --- a/ent_skateshop.c +++ b/ent_skateshop.c @@ -163,7 +163,9 @@ VG_STATIC void skateshop_load_world_preview( addon_reg *reg ){ * VG event preupdate */ void temp_update_playermodel(void); -VG_STATIC void ent_skateshop_preupdate( ent_skateshop *shop ){ +VG_STATIC void ent_skateshop_preupdate( ent_skateshop *shop, int active ){ + if( !active ) return; + /* input filter */ world_instance *world = world_current_instance();