mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-25 21:41:44 +00:00
- SW: Remove leftover debug prints from previous commit.
This commit is contained in:
parent
32ce8a97bf
commit
f69bfe4959
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue