Skip to content

Commit

Permalink
Replaced some broken "inherited::inherited" to direct class name. (fi…
Browse files Browse the repository at this point in the history
…x undefined behavior in compiled code)

Close issue #148
  • Loading branch information
ShokerStlk committed Feb 17, 2017
1 parent 5c01f45 commit 741031c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xrGame/ActorEffector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ BOOL CAnimatorCamEffector::ProcessCam(SCamEffectorInfo& info)

BOOL CAnimatorCamLerpEffector::ProcessCam(SCamEffectorInfo& info)
{
if (!inherited::inherited::ProcessCam(info)) return FALSE;
if (!CEffectorCam::ProcessCam(info)) return FALSE;

const Fmatrix& m = m_objectAnimator->XFORM();
m_objectAnimator->Update(Device.fTimeDelta);
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/ai/stalker/ai_stalker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ void CAI_Stalker::shedule_Update(u32 DT)
}

START_PROFILE("stalker/schedule_update/inherited")
inherited::inherited::shedule_Update(DT);
CEntityAlive::shedule_Update(DT);
STOP_PROFILE

if (Remote()) {
Expand Down

0 comments on commit 741031c

Please sign in to comment.