mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
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:
parent
4842f18f1b
commit
cf093e9ea6
3 changed files with 6 additions and 6 deletions
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue