From 718e4e6b91b08d95a5d9a5d02549a68a6eb8fb6f Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 30 Aug 2016 16:42:33 -0500 Subject: [PATCH] Fix to_string reference --- src/ambiance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ambiance.cpp b/src/ambiance.cpp index 6e596191..fbcf6fa6 100644 --- a/src/ambiance.cpp +++ b/src/ambiance.cpp @@ -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 {