projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vehicle stuff
[carveJwlIkooP6JGAAIwe30JlM.git]
/
skaterift.c
diff --git
a/skaterift.c
b/skaterift.c
index 130bedfe14716564cb17662aa6e2f3d24bb4b75b..272cff9ba4df78002bbb512041558270760bdfe2 100644
(file)
--- a/
skaterift.c
+++ b/
skaterift.c
@@
-132,8
+132,10
@@
VG_STATIC void vg_update(void)
{
draw_origin_axis();
network_update();
{
draw_origin_axis();
network_update();
+
+ if( !gzoomer.inside )
+ player_update_pre();
- player_update_pre();
world_update( player.phys.rb.co );
}
}
world_update( player.phys.rb.co );
}
}
@@
-142,7
+144,9
@@
VG_STATIC void vg_update_fixed(void)
{
if( vg.is_loaded )
{
{
if( vg.is_loaded )
{
- player_update_fixed();
+ if( !gzoomer.inside )
+ player_update_fixed();
+
vehicle_update_fixed();
}
}
vehicle_update_fixed();
}
}
@@
-151,7
+155,14
@@
VG_STATIC void vg_update_post(void)
{
if( vg.is_loaded )
{
{
if( vg.is_loaded )
{
- player_update_post();
+ if( gzoomer.inside )
+ {
+ vehicle_camera();
+ }
+ else
+ {
+ player_update_post();
+ }
menu_update();
vehicle_update_post();
}
menu_update();
vehicle_update_post();
}