diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 20:52:56 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2013-06-17 20:52:56 +0200 |
commit | 4c33172e173b8f815a367f1e1c0fae06d9051df5 (patch) | |
tree | 1437a3e7743d61f5867c3fd268a4beffdd0f9405 /src/graphics | |
parent | 366d3a551ef3541f6eeb226f80a16b8de8fdd2e9 (diff) | |
download | colobot-4c33172e173b8f815a367f1e1c0fae06d9051df5.tar.gz colobot-4c33172e173b8f815a367f1e1c0fae06d9051df5.tar.bz2 colobot-4c33172e173b8f815a367f1e1c0fae06d9051df5.zip |
Fixed string formats in light debug prints
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/engine/lightman.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/graphics/engine/lightman.cpp b/src/graphics/engine/lightman.cpp index 3e512d8..cd743a5 100644 --- a/src/graphics/engine/lightman.cpp +++ b/src/graphics/engine/lightman.cpp @@ -141,11 +141,11 @@ void CLightManager::DebugDumpLights() l->Debug(" position = %s\n", str.c_str()); str = light.direction.ToString(); l->Debug(" direction = %s\n", str.c_str()); - l->Debug(" attenuation0 = %s\n", light.attenuation0); - l->Debug(" attenuation1 = %s\n", light.attenuation1); - l->Debug(" attenuation2 = %s\n", light.attenuation2); - l->Debug(" spotAngle = %s\n", light.spotAngle); - l->Debug(" spotIntensity = %s\n", light.spotIntensity); + l->Debug(" attenuation0 = %f\n", light.attenuation0); + l->Debug(" attenuation1 = %f\n", light.attenuation1); + l->Debug(" attenuation2 = %f\n", light.attenuation2); + l->Debug(" spotAngle = %f\n", light.spotAngle); + l->Debug(" spotIntensity = %f\n", light.spotIntensity); l->Debug(" intensity: %f\n", dynLight.intensity.current); l->Debug(" color: %f %f %f\n", dynLight.colorRed.current, dynLight.colorGreen.current, dynLight.colorBlue.current); |