src/tgp.cpp
changeset 6248 e4a2ed7e5613
parent 6247 7d81e3a5d803
child 6357 f0f5e7d1713c
--- a/src/tgp.cpp	Wed Mar 07 11:47:46 2007 +0000
+++ b/src/tgp.cpp	Wed Mar 07 12:11:48 2007 +0000
@@ -165,14 +165,14 @@
 static const int amplitude_decimal_bits = 10;
 
 /** Height map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1) */
-typedef struct HeightMap
+struct HeightMap
 {
 	height_t *h;         //! array of heights
 	uint     dim_x;      //! height map size_x MapSizeX() + 1
 	uint     total_size; //! height map total size
 	uint     size_x;     //! MapSizeX()
 	uint     size_y;     //! MapSizeY()
-} HeightMap;
+};
 
 /** Global height map instance */
 static HeightMap _height_map = {NULL, 0, 0, 0, 0};