- SW: Remove leftover debug prints from previous commit.

This commit is contained in:
Mitchell Richters 2023-01-06 12:10:19 +11:00
parent 32ce8a97bf
commit f69bfe4959

View file

@ -2556,7 +2556,6 @@ void DoSineWaveFloor(void)
int wave; int wave;
int flags; int flags;
Printf("---------------------------\n");
for (wave = 0; wave < MAX_SINE_WAVE; wave++) for (wave = 0; wave < MAX_SINE_WAVE; wave++)
{ {
for (swf = &SineWaveFloor[wave][0], flags = swf->flags; swf->sectp != nullptr && swf < &SineWaveFloor[wave][SIZ(SineWaveFloor[wave])]; swf++) for (swf = &SineWaveFloor[wave][0], flags = swf->flags; swf->sectp != nullptr && swf < &SineWaveFloor[wave][SIZ(SineWaveFloor[wave])]; swf++)
@ -2567,7 +2566,6 @@ void DoSineWaveFloor(void)
if ((flags & SINE_FLOOR)) if ((flags & SINE_FLOOR))
{ {
double newz = swf->floorOrigz + swf->Range * BobVal(swf->sintable_ndx); double newz = swf->floorOrigz + swf->Range * BobVal(swf->sintable_ndx);
Printf("sector %d: orig = %2.5f, range = %2.5f, new = %2.5f, index = %d\n", int(swf->sectp - sector.Data()), swf->floorOrigz, swf->Range, newz, swf->sintable_ndx);
swf->sectp->setfloorz(newz); swf->sectp->setfloorz(newz);
} }