Fix to_string reference

master
Brandon 2016-08-30 16:42:33 -05:00
parent f440ae1b2c
commit 718e4e6b91
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ void Ambiance::doAmbiance(float dtime, u32 tod){
float v = ( rand() % 60 ); // add a little random variation to the sound volume
if ( v > 0 )
v = v / 100;
verbosestream << "[AMBIANCE] Sound selected: " << to_string(s) << " " << a_env[currentEnv].sounds[s].name << std::endl;
verbosestream << "[AMBIANCE] Sound selected: " << std::to_string(s) << " " << a_env[currentEnv].sounds[s].name << std::endl;
playSound(a_env[currentEnv].sounds[s].name, ( a_env[currentEnv].sounds[s].gain - v ));
}
} else {