Skip to content

Commit

Permalink
blink black and jetstrafe threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
NPi2Loup committed Feb 21, 2020
1 parent 844f0ee commit d51ef62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neo/d3xp/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ void idPlayer::InitTeleportTarget()

commonVr->teleportButtonCount = 0;

common->Printf( "Initializing teleport target\n" );
//common->Printf( "Initializing teleport target\n" );
origin = GetPhysics()->GetOrigin() + (origin + modelOffset) * GetPhysics()->GetAxis();

if ( !( teleportTarget = (idAnimatedEntity*)gameLocal.FindEntity( "vrTeleportTarget" ) ) )
Expand Down Expand Up @@ -10048,8 +10048,8 @@ idPlayer::EvaluateControls
*/
void idPlayer::EvaluateControls()
{
static float strafeHiThresh = commonVr->hasOculusRift ? 0.3f : 0.6f;
static float strafeLoThresh = commonVr->hasOculusRift ? 0.25f : 0.3f;
static float strafeHiThresh = commonVr->hasOculusRift ? 0.3f : 0.4f;
static float strafeLoThresh = commonVr->hasOculusRift ? 0.25f : 0.25f;

static bool lastJetStrafe = false;
static bool currentJetStrafe = false;
Expand Down Expand Up @@ -10207,7 +10207,7 @@ void idPlayer::EvaluateControls()
{
if ( vr_teleportMode.GetInteger() == 0 ) //blink
{
playerView.Flash( colorRed, 140 );
playerView.Flash( colorBlack, 140 );
}

TeleportPath( teleportPoint );
Expand Down

0 comments on commit d51ef62

Please sign in to comment.