summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Water.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Water.cpp')
-rw-r--r--Stars45/Water.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Stars45/Water.cpp b/Stars45/Water.cpp
index b35b2c2..5509938 100644
--- a/Stars45/Water.cpp
+++ b/Stars45/Water.cpp
@@ -11,7 +11,6 @@
Water surface effect w/ reflection and caustics
*/
-#include "MemDebug.h"
#include "Water.h"
#include "Random.h"
@@ -115,13 +114,13 @@ Water::Init(int n, float s, float d)
if (surface)
delete [] surface;
- surface = new(__FILE__,__LINE__) WATER_SURFACE[n*n];
+ surface = new WATER_SURFACE[n*n];
ZeroMemory(surface, n*n * sizeof(WATER_SURFACE));
if (waves)
delete [] waves;
- waves = new(__FILE__,__LINE__) float[WAVE_SIZE*4];
+ waves = new float[WAVE_SIZE*4];
double f = 1.0 / (double) WAVE_SIZE;
for (int i = 0; i < WAVE_SIZE; i++) {