mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
Merge branch 'eggshield-laser-fix' into 'next'
Eggshield laser fix Fix for http://mb.srb2.org/showthread.php?t=42250 See merge request !152
This commit is contained in:
commit
c93101aa74
1 changed files with 4 additions and 0 deletions
|
@ -5342,6 +5342,10 @@ void T_LaserFlash(laserthink_t *flash)
|
|||
&& thing->flags & MF_BOSS)
|
||||
continue; // Don't hurt bosses
|
||||
|
||||
// Don't endlessly kill egg guard shields (or anything else for that matter)
|
||||
if (thing->health <= 0)
|
||||
continue;
|
||||
|
||||
top = P_GetSpecialTopZ(thing, sourcesec, sector);
|
||||
bottom = P_GetSpecialBottomZ(thing, sourcesec, sector);
|
||||
|
||||
|
|
Loading…
Reference in a new issue