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 91a39bd..07f6f62 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,