diff --git a/source/games/duke/src/gameexec.cpp b/source/games/duke/src/gameexec.cpp index 3a891a7c4..f8cd3374b 100644 --- a/source/games/duke/src/gameexec.cpp +++ b/source/games/duke/src/gameexec.cpp @@ -3733,31 +3733,6 @@ void LoadActor(DDukeActor *actor, int p, int x) else if (actor->timetosleep == 1) 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 - } } } diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index c99f0111c..db3291053 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -872,7 +872,7 @@ static void shootlaser(DDukeActor* actor, int p, int sx, int sy, int sz, int sa) 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 (isWW2GI()) {