projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move location of main camera to g_render
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_remote.c
diff --git
a/player_remote.c
b/player_remote.c
index 44d28b2d6e889d61ee530ad949de0a13278117e9..e8ca56c62cb65d4e98ccfccc8bfe368f6f0687dc 100644
(file)
--- a/
player_remote.c
+++ b/
player_remote.c
@@
-1084,10
+1084,10
@@
void remote_players_imgui_world( ui_context *ctx,
hit.dist = dist;
v3f dir;
hit.dist = dist;
v3f dir;
- v3_sub( co,
skaterift
.cam.pos, dir );
+ v3_sub( co,
g_render
.cam.pos, dir );
v3_normalize( dir );
v3_normalize( dir );
- if( ray_world( world,
skaterift
.cam.pos, dir, &hit,
+ if( ray_world( world,
g_render
.cam.pos, dir, &hit,
k_material_flag_ghosts ) ){
opacity *= 0.5f;
}
k_material_flag_ghosts ) ){
opacity *= 0.5f;
}