mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-01 16:42:16 +00:00
- SW: Remove leftover debug prints from previous commit.
This commit is contained in:
parent
a5066a0b6b
commit
70f29df129
1 changed files with 0 additions and 2 deletions
|
@ -2569,7 +2569,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++)
|
||||||
|
@ -2580,7 +2579,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