]> git.mxchange.org Git - simgear.git/commitdiff
Syd ADAMS: remove season suffix, this is now done via <condition>s
authormfranz <mfranz>
Sat, 16 Feb 2008 22:09:40 +0000 (22:09 +0000)
committermfranz <mfranz>
Sat, 16 Feb 2008 22:09:40 +0000 (22:09 +0000)
simgear/scene/material/mat.cxx

index 6dde0c519b74b77a8c2439ac7aca45f3f7328d78..3da8824a3fe40bb6de0dcf3b77551abc8223834b 100644 (file)
@@ -100,11 +100,6 @@ SGMaterial::read_properties( const string &fg_root, const SGPropertyNode * props
   {
     string tname = textures[i]->getStringValue();
     string otname = tname;
-    if (season && strncmp(season, "summer", 6))
-    {
-        if (tname.substr(0,7) == "Terrain")
-            tname.insert(7,"."+string(season));
-    }
 
     if (tname == "") {
         tname = "unknown.rgb";