Fix BGE sound actuator property access

This commit is contained in:
Campbell Barton 2017-11-18 17:16:25 +11:00 committed by Bastien Montagne
parent 8ea3f6438d
commit d2d207773e
1 changed files with 1 additions and 1 deletions

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);