void AudioManager::playGunshot() { OgreOggSound::OgreOggISound* gunShot = mSoundMgr->createSound("gunShot" + std::to_string(static_cast<long long>(gunShots)), "laser.ogg", false, false, false, NULL, true); gunShot->markTemporary(); gunShot->disable3D(true); gunShot->setVolume(0.3); gunShots++; gunShot->play(true); }