Skip to content

Commit

Permalink
Revert "Fixed famous binoculars bug"
Browse files Browse the repository at this point in the history
This reverts commit 64c22e8.
  • Loading branch information
Xottab-DUTY committed Apr 2, 2019
1 parent 25238f2 commit e24dad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cs/engine/xrGame/WeaponBinocularsVision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void CBinocularsVision::Update()
for (; v_it!=vVisibles.end(); ++v_it)
{
const CObject* _object_ = (*v_it).m_object;
if (!pActor->memory().visual().visible_right_now(smart_cast<const CGameObject*>(_object_)))
if (!pActor->memory().visual().visible_now(smart_cast<const CGameObject*>(_object_)))
continue;

CObject* object_ = const_cast<CObject*>(_object_);
Expand Down

0 comments on commit e24dad0

Please sign in to comment.