SW: Comment out function parameters accessed only in commented out code

git-svn-id: https://svn.eduke32.com/eduke32@8697 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
ny00123 2020-03-07 13:51:54 +00:00 committed by Christoph Oelckers
parent 4842f18f1b
commit cf093e9ea6
3 changed files with 6 additions and 6 deletions

View file

@ -342,7 +342,7 @@ void BOT_ChooseWeapon(PLAYERp p, USERp u, SW_PACKET *syn)
}
}
int getspritescore(int snum, int dapicnum)
int getspritescore(/*int snum, */int dapicnum)
{
switch (dapicnum)
@ -794,7 +794,7 @@ void computergetinput(int snum, SW_PACKET *syn)
for (j=headspritesect[i]; j>=0; j=nextspritesect[j])
{
if ((sprite[j].xrepeat <= 0) || (sprite[j].yrepeat <= 0)) continue;
if (getspritescore(snum,sprite[j].picnum) <= 0) continue;
if (getspritescore(/*snum,*/sprite[j].picnum) <= 0) continue;
if (FAFcansee(x1,y1,z1-(32<<8),damysect,sprite[j].x,sprite[j].y,sprite[j].z-(4<<8),i))
{ goalx[snum] = sprite[j].x; goaly[snum] = sprite[j].y; goalz[snum] = sprite[j].z; goalsprite[snum] = j; break; }
}

View file

@ -644,7 +644,7 @@ SectorMidPoint(short sectnum, int *xmid, int *ymid, int *zmid)
void
DoSpringBoard(PLAYERp pp, short sectnum)
DoSpringBoard(PLAYERp pp/*, short sectnum*/)
{
#if 0
@ -2699,7 +2699,7 @@ PlayerOperateEnv(PLAYERp pp)
DoSlidorOperate(pp, pp->cursectnum);
break;
case TAG_SPRING_BOARD:
DoSpringBoard(pp, pp->cursectnum);
DoSpringBoard(pp/*, pp->cursectnum*/);
FLAG_KEY_RELEASE(pp, SK_OPERATE);
break;
case TAG_DOOR_ROTATE:

View file

@ -18842,7 +18842,7 @@ SpawnSwordSparks(PLAYERp pp, short hit_sect, short hit_wall, int hit_x, int hit_
}
int
SpawnTurretSparks(SPRITEp sp, short hit_sect, short hit_wall, int hit_x, int hit_y, int hit_z, short hit_ang)
SpawnTurretSparks(/*SPRITEp sp, */short hit_sect, short hit_wall, int hit_x, int hit_y, int hit_z, short hit_ang)
{
//USERp u = User[sp - sprite];
short j;
@ -19077,7 +19077,7 @@ InitTurretMgun(SECTOR_OBJECTp sop)
}
j = SpawnTurretSparks(sp, hitinfo.sect, hitinfo.wall, hitinfo.pos.x, hitinfo.pos.y, hitinfo.pos.z, daang);
j = SpawnTurretSparks(/*sp, */hitinfo.sect, hitinfo.wall, hitinfo.pos.x, hitinfo.pos.y, hitinfo.pos.z, daang);
DoHitscanDamage(j, hitinfo.sprite);
}
}