Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Converter / KX_ConvertActuators.cpp
index 91a39bd7686c347b7b58d2f233c5c4e8a102c8e5..07f6f628e0638616e6a011f6a9ee472b6990e33f 100644 (file)
@@ -396,7 +396,7 @@ void BL_ConvertActuators(char* maggiename,
                                                                                "\" has no sound datablock." << std::endl;
                                        }
                                        else
-                                               snd_sound = sound->cache ? sound->cache : sound->handle;
+                                               snd_sound = sound->cache ? sound->cache : sound->snd_sound;
                                        KX_SoundActuator* tmpsoundact =
                                                new KX_SoundActuator(gameobj,
                                                snd_sound,