projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix username bug, fix animator spin bug
[carveJwlIkooP6JGAAIwe30JlM.git]
/
vehicle.c
diff --git
a/vehicle.c
b/vehicle.c
index e988d616971b06c8c73b297aaf9c4f466359830f..a171a8d846c6d5ef2686beae59979fd9e883860b 100644
(file)
--- a/
vehicle.c
+++ b/
vehicle.c
@@
-3,11
+3,10
@@
#include "vehicle.h"
#include "vehicle.h"
-VG_STATIC int spawn_car( int argc, const char *argv[] )
-{
+VG_STATIC int spawn_car( int argc, const char *argv[] ){
v3f ra, rb, rx;
v3f ra, rb, rx;
- v3_copy(
main_camera
.pos, ra );
- v3_muladds( ra,
main_camera
.transform[2], -10.0f, rb );
+ v3_copy(
skaterift.cam
.pos, ra );
+ v3_muladds( ra,
skaterift.cam
.transform[2], -10.0f, rb );
float t;
if( spherecast_world( world_current_instance(), ra, rb,
float t;
if( spherecast_world( world_current_instance(), ra, rb,