X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fenvironment%2Fvisual_enviro.cxx;h=b0cb219059f4b8ceecf844b8d7cb3581a0c85886;hb=aa2ed5fb0cb16766f440231f23581bb90e9963d8;hp=71a0c5eaee71b2405ae1392bc9b032afd9ae0e9a;hpb=e2e1524454d94db9e1b8cf591f337ca0a5fd06da;p=simgear.git diff --git a/simgear/environment/visual_enviro.cxx b/simgear/environment/visual_enviro.cxx index 71a0c5ea..b0cb2190 100644 --- a/simgear/environment/visual_enviro.cxx +++ b/simgear/environment/visual_enviro.cxx @@ -756,7 +756,7 @@ void SGEnviro::drawLightning(void) { SGSharedPtr snd = sampleGroup->find("thunder"); if( snd ) { SGVec3d pos = SGVec3d(ax, ay, -sgEnviro.last_alt); - snd->set_base_position(pos); + snd->set_position(pos); snd->play_once(); } }