X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fterrain.cpp;h=8e0c60edb76276e8a49bf4f0043073556f64c10f;hb=2bf64dc970d4157be1507b20ae637f048e19e5ec;hp=c89d0f8cf20621df2e5befa06f4d57b404c7c1c3;hpb=e3f081a762c1bd21c051590540d21ec21e9b36b1;p=r2c2.git diff --git a/source/libr2c2/terrain.cpp b/source/libr2c2/terrain.cpp index c89d0f8..8e0c60e 100644 --- a/source/libr2c2/terrain.cpp +++ b/source/libr2c2/terrain.cpp @@ -63,7 +63,7 @@ void Terrain::set_size(unsigned w, unsigned h) delete shape; float ts = type.get_tile_size(); - Vector dim(width*ts, height*ts, ts); + Vector dim(width*ts, height*ts, ts/10.0f); shape = new Geometry::TransformedShape( Geometry::Box(dim), Transform::translation(dim/2.0f));