diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-11-18 09:16:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-11-18 09:16:25 +0300 |
commit | 8f56cebe72098c49095860f1efc4f635dbf83b8c (patch) | |
tree | c6b940bdeaaebb8501763d1f22401b4186501294 | |
parent | cd1d9950aba1f4c759769e4896f2a9953d982eec (diff) |
Fix BGE sound actuator property access
-rw-r--r-- | source/gameengine/Ketsji/KX_SoundActuator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_SoundActuator.cpp b/source/gameengine/Ketsji/KX_SoundActuator.cpp index d858097abef..64aab31ba22 100644 --- a/source/gameengine/Ketsji/KX_SoundActuator.cpp +++ b/source/gameengine/Ketsji/KX_SoundActuator.cpp @@ -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); |