Skip to content

Commit

Permalink
xrGame: fix is_interactive_motion and get_moving_objects
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Sep 19, 2018
1 parent 8eec56e commit f423725
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/xrGame/IKLimbsController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void CIKLimbsController::ObjectShift(float static_shift, const SCalculateData cd
CPhysicsShellHolder* sh = smart_cast<CPhysicsShellHolder*>(m_object);
VERIFY(sh);
// CCharacterPhysicsSupport *ch = sh->character_physics_support();
_object_shift.freeze(!!Device.Paused()); // ch->interactive_motion() ||
_object_shift.freeze(!!Device.Paused()); // ch->is_interactive_motion() ||

if (cnt_in_step != sz && PredictObjectShift(cd)) // cnt_in_step > 0 &&
return;
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/PhysicsShellHolder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void CPhysicsShellHolder::OnChangeVisual()
if (char_support)
char_support->destroy_imotion();

VERIFY(!character_physics_support() || !character_physics_support()->interactive_motion());
VERIFY(!character_physics_support() || !character_physics_support()->is_interactive_motion());
if (m_pPhysicsShell)
m_pPhysicsShell->Deactivate();
xr_delete(m_pPhysicsShell);
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/alife_simulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CALifeSimulator::CALifeSimulator(IPureServer* server, shared_str* command_line)
xr_delete(g_object_factory);
ai().SetupScriptEngine();
#ifdef DEBUG
ai().moving_objects().clear();
ai().get_moving_objects().clear();
#endif // DEBUG
}

Expand Down

0 comments on commit f423725

Please sign in to comment.