diff options
-rw-r--r-- | graphics/libwpcg/files/patch-WP_Terrain.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libwpcg/files/patch-WP_Terrain.C b/graphics/libwpcg/files/patch-WP_Terrain.C new file mode 100644 index 000000000000..f31cefeee991 --- /dev/null +++ b/graphics/libwpcg/files/patch-WP_Terrain.C @@ -0,0 +1,11 @@ +--- WP_Terrain.C.orig Thu Aug 19 15:07:13 2004 ++++ WP_Terrain.C Thu Aug 19 15:07:26 2004 +@@ -29,7 +29,7 @@ + { + //creates a random 3D terrain + +- WP_Vertex **height_map = new (WP_Vertex*)[height]; ++ WP_Vertex **height_map = new WP_Vertex*[height]; + if (!height_map) + { + cerr << "Unable to allocate memory for height_map" << endl; |