mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- fixed warnings
This commit is contained in:
parent
9deb1dfa69
commit
a226a847bd
3 changed files with 1 additions and 3 deletions
|
@ -266,7 +266,6 @@ void hitradius_d(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
|
|||
{
|
||||
BFSSectorSearch search(actor->sector());
|
||||
|
||||
double radius = r * inttoworld;
|
||||
while (auto dasectp = search.GetNext())
|
||||
{
|
||||
if ((dasectp->ceilingz- actor->spr.pos.Z) < radius * 16) // what value range is this supposed to be? The check that was here did not multiply correctly
|
||||
|
|
|
@ -224,7 +224,6 @@ void hitradius_r(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
|
|||
{
|
||||
BFSSectorSearch search(actor->sector());
|
||||
|
||||
double radius = r * inttoworld;
|
||||
while (auto dasectp = search.GetNext())
|
||||
{
|
||||
if ((dasectp->ceilingz- actor->spr.pos.Z) < radius * 16) // what value range is this supposed to be? The check that was here did not multiply correctly
|
||||
|
|
|
@ -564,7 +564,7 @@ static void shootstuff(DDukeActor* actor, int p, int sx, int sy, int sz, int sa,
|
|||
{
|
||||
sectortype* sect = actor->sector();
|
||||
int vel, zvel;
|
||||
int l, scount;
|
||||
int scount;
|
||||
|
||||
if (actor->spr.extra >= 0) actor->spr.shade = -96;
|
||||
|
||||
|
|
Loading…
Reference in a new issue