projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ignore autogenerated headers
[carveJwlIkooP6JGAAIwe30JlM.git]
/
ent_skateshop.c
diff --git
a/ent_skateshop.c
b/ent_skateshop.c
index 1065d4b58ab6a1095cd7d3d7f26e2cf1a5261780..05999f9322c5793df9cccb00c7e547f14c03b460 100644
(file)
--- a/
ent_skateshop.c
+++ b/
ent_skateshop.c
@@
-209,12
+209,13
@@
static void skateshop_server_helper_update(void){
* VG event preupdate
*/
void temp_update_playermodel(void);
* VG event preupdate
*/
void temp_update_playermodel(void);
-void ent_skateshop_preupdate( ent_
skateshop *shop, int active
)
+void ent_skateshop_preupdate( ent_
focus_context *ctx
)
{
{
- if( !active ) return;
+ if( !ctx->active )
+ return;
- /* input filter */
-
world_instance *world = world_current_instance(
);
+ world_instance *world = ctx->world;
+
ent_skateshop *shop = mdl_arritm( &world->ent_skateshop, ctx->index
);
/* camera positioning */
ent_camera *ref = mdl_arritm( &world->ent_camera,
/* camera positioning */
ent_camera *ref = mdl_arritm( &world->ent_camera,