mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +00:00
- cleanup - flag name and removal of unused code.
This commit is contained in:
parent
2468debe34
commit
eae5ca93d0
2 changed files with 1 additions and 26 deletions
|
@ -3733,31 +3733,6 @@ void LoadActor(DDukeActor *actor, int p, int x)
|
||||||
else if (actor->timetosleep == 1)
|
else if (actor->timetosleep == 1)
|
||||||
ChangeActorStat(actor, STAT_ZOMBIEACTOR);
|
ChangeActorStat(actor, STAT_ZOMBIEACTOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (actor->spr.statnum == 6)
|
|
||||||
{
|
|
||||||
#if 0
|
|
||||||
switch (actor->s.picnum)
|
|
||||||
{
|
|
||||||
case RUBBERCAN:
|
|
||||||
case EXPLODINGBARREL:
|
|
||||||
case WOODENHORSE:
|
|
||||||
case HORSEONSIDE:
|
|
||||||
case CANWITHSOMETHING:
|
|
||||||
case FIREBARREL:
|
|
||||||
case NUKEBARREL:
|
|
||||||
case NUKEBARRELDENTED:
|
|
||||||
case NUKEBARRELLEAKED:
|
|
||||||
case TRIPBOMB:
|
|
||||||
case EGG:
|
|
||||||
if (actor->timetosleep > 1)
|
|
||||||
actor->timetosleep--;
|
|
||||||
else if (actor->timetosleep == 1)
|
|
||||||
changespritestat(i, 2);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -872,7 +872,7 @@ static void shootlaser(DDukeActor* actor, int p, int sx, int sy, int sz, int sa)
|
||||||
|
|
||||||
if (j == 1)
|
if (j == 1)
|
||||||
{
|
{
|
||||||
auto bomb = EGS(hit.hitSector, hit.hitpos.X, hit.hitpos.Y, hit.hitpos.Z, TRIPBOMB, -16, 4, 5, sa, 0, 0, actor, 6);
|
auto bomb = EGS(hit.hitSector, hit.hitpos.X, hit.hitpos.Y, hit.hitpos.Z, TRIPBOMB, -16, 4, 5, sa, 0, 0, actor, STAT_STANDABLE);
|
||||||
if (!bomb) return;
|
if (!bomb) return;
|
||||||
if (isWW2GI())
|
if (isWW2GI())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue