review: player_common.h
[carveJwlIkooP6JGAAIwe30JlM.git] / player_common.c
index 8696eab05c3bbaf7bf3830ccba6c9eab38fadc30..5e1c88dba56a1fb2654dadc0152659f7b35877f3 100644 (file)
@@ -3,7 +3,6 @@
 
 #include "ent_skateshop.h"
 #include "player.h"
-#include "conf.h"
 #include "input.h"
 #include "menu.h"
 #include "vg/vg_perlin.h"
@@ -76,7 +75,8 @@ VG_STATIC void player__cam_iterate( player_instance *player )
 #endif
       v3_copy( (v3f){0.0f,0.0f,0.0f}, player->fpv_offset );
       v3_copy( (v3f){0.0f,1.4f,0.0f}, player->tpv_offset );
-      v3_add( TEMP_TPV_EXTRA, player->tpv_offset, player->tpv_offset );
+      v3_add( player->tpv_offset_extra, player->tpv_offset, 
+              player->tpv_offset );
    }
 
    player->cam_velocity_constant = 0.25f;