diff --git a/neo/d3xp/PlayerView.cpp b/neo/d3xp/PlayerView.cpp index d7676708..750e20d0 100644 --- a/neo/d3xp/PlayerView.cpp +++ b/neo/d3xp/PlayerView.cpp @@ -255,7 +255,7 @@ which will determine the head kick direction ============== */ void idPlayerView::DamageImpulse( idVec3 localKickDir, const idDict *damageDef ) { - if ( cvarSystem->GetCVarBool( "g_hitEffect" ) ) { + if ( g_hitEffect.GetBool() ) { // // double vision effect // diff --git a/neo/game/PlayerView.cpp b/neo/game/PlayerView.cpp index 7bdd35fd..549ce3ab 100644 --- a/neo/game/PlayerView.cpp +++ b/neo/game/PlayerView.cpp @@ -224,7 +224,7 @@ which will determine the head kick direction ============== */ void idPlayerView::DamageImpulse( idVec3 localKickDir, const idDict *damageDef ) { - if ( cvarSystem->GetCVarBool( "g_hitEffect" ) ) { + if ( g_hitEffect.GetBool() ) { // // double vision effect //