Fix BGE sound actuator property access

This commit is contained in:
Campbell Barton
2017-11-18 17:16:25 +11:00
parent cd1d9950ab
commit 8f56cebe72

View File

@@ -488,7 +488,7 @@ int KX_SoundActuator::pyattr_set_3d_property(void *self, const struct KX_PYATTRI
if (actuator->m_handle)
AUD_Handle_setAttenuation(actuator->m_handle, prop_value);
} else if (!!strcmp(prop, "cone_angle_inner")) {
} else if (!strcmp(prop, "cone_angle_inner")) {
actuator->m_3d.cone_inner_angle = prop_value;
if (actuator->m_handle)
AUD_Handle_setConeAngleInner(actuator->m_handle, prop_value);