Skip to content

Commit f423725

Browse files
committed
xrGame: fix is_interactive_motion and get_moving_objects
1 parent 8eec56e commit f423725

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/xrGame/IKLimbsController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void CIKLimbsController::ObjectShift(float static_shift, const SCalculateData cd
199199
CPhysicsShellHolder* sh = smart_cast<CPhysicsShellHolder*>(m_object);
200200
VERIFY(sh);
201201
// CCharacterPhysicsSupport *ch = sh->character_physics_support();
202-
_object_shift.freeze(!!Device.Paused()); // ch->interactive_motion() ||
202+
_object_shift.freeze(!!Device.Paused()); // ch->is_interactive_motion() ||
203203

204204
if (cnt_in_step != sz && PredictObjectShift(cd)) // cnt_in_step > 0 &&
205205
return;

src/xrGame/PhysicsShellHolder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void CPhysicsShellHolder::OnChangeVisual()
322322
if (char_support)
323323
char_support->destroy_imotion();
324324

325-
VERIFY(!character_physics_support() || !character_physics_support()->interactive_motion());
325+
VERIFY(!character_physics_support() || !character_physics_support()->is_interactive_motion());
326326
if (m_pPhysicsShell)
327327
m_pPhysicsShell->Deactivate();
328328
xr_delete(m_pPhysicsShell);

src/xrGame/alife_simulator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ CALifeSimulator::CALifeSimulator(IPureServer* server, shared_str* command_line)
3737
xr_delete(g_object_factory);
3838
ai().SetupScriptEngine();
3939
#ifdef DEBUG
40-
ai().moving_objects().clear();
40+
ai().get_moving_objects().clear();
4141
#endif // DEBUG
4242
}
4343

0 commit comments

Comments
 (0)