mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +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)
|
&& thing->flags & MF_BOSS)
|
||||||
continue; // Don't hurt bosses
|
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);
|
top = P_GetSpecialTopZ(thing, sourcesec, sector);
|
||||||
bottom = P_GetSpecialBottomZ(thing, sourcesec, sector);
|
bottom = P_GetSpecialBottomZ(thing, sourcesec, sector);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue