From ee20fbd37bf07243a1b54e6e30abcf68d942938e Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Thu, 13 Jun 2013 21:29:03 +0000 Subject: [PATCH] VCC does not like float constants ... --- source/glest_game/world/tileset.cpp | 1 + source/glest_game/world/tileset.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/world/tileset.cpp b/source/glest_game/world/tileset.cpp index 67270875..d792751b 100644 --- a/source/glest_game/world/tileset.cpp +++ b/source/glest_game/world/tileset.cpp @@ -29,6 +29,7 @@ using namespace Shared::Graphics; namespace Glest{ namespace Game{ +const float Tileset::standardAirHeight= 5.0f; // ===================================================== // class AmbientSounds // ===================================================== diff --git a/source/glest_game/world/tileset.h b/source/glest_game/world/tileset.h index 1c78b0c1..96dd6f2d 100644 --- a/source/glest_game/world/tileset.h +++ b/source/glest_game/world/tileset.h @@ -120,7 +120,7 @@ public: static const int surfCount= 6; static const int objCount= 10; static const int transitionVars= 2; //number or different transition textures - static const float standardAirHeight= 5.f; + static const float standardAirHeight; public: typedef vector SurfProbs;