diff --git a/source/sw/src/jplayer.cpp b/source/sw/src/jplayer.cpp index 4db6aaabe..aa9a879bd 100644 --- a/source/sw/src/jplayer.cpp +++ b/source/sw/src/jplayer.cpp @@ -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; } } diff --git a/source/sw/src/sector.cpp b/source/sw/src/sector.cpp index f5c63b8ab..dfbdbfde7 100644 --- a/source/sw/src/sector.cpp +++ b/source/sw/src/sector.cpp @@ -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: diff --git a/source/sw/src/weapon.cpp b/source/sw/src/weapon.cpp index ef897026c..d6f3e2faf 100644 --- a/source/sw/src/weapon.cpp +++ b/source/sw/src/weapon.cpp @@ -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); } }