Skip to content

Commit 728c49f

Browse files
ForserXXottab-DUTY
authored andcommitted
xrPhysics/PHObject.h: NetInterpolationOFF() now really disables net interpolation
Remark: NetInterpolationOFF() is unused
1 parent 3e334e4 commit 728c49f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xrPhysics/PHObject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ class CPHObject : public SpatialBase
8787
void Freeze();
8888
void UnFreeze();
8989
IC bool IsFreezed() { return !!(m_flags.test(st_freezed)); }
90-
void NetInterpolationON() { m_flags.set(st_net_interpolation, TRUE); }
91-
void NetInterpolationOFF() { m_flags.set(st_net_interpolation, TRUE); }
90+
void NetInterpolationON() { m_flags.set(st_net_interpolation, true); }
91+
void NetInterpolationOFF() { m_flags.set(st_net_interpolation, false); }
9292
bool NetInterpolation() { return !!(m_flags.test(st_net_interpolation)); }
9393
virtual u16 get_elements_number() = 0;
9494
virtual CPHSynchronize* get_element_sync(u16 element) = 0;

0 commit comments

Comments
 (0)