Explosions SS runtime fix + code cleanup (#52894)

* runtime fix

* turf references are immortal
This commit is contained in:
Rohesie
2020-08-21 21:57:29 +02:00
committed by GitHub
parent 4545ba3514
commit 7859721611
28 changed files with 164 additions and 164 deletions
@@ -123,11 +123,11 @@
if(cpu)
switch(severity)
if(EXPLODE_DEVASTATE)
SSexplosions.highobj += cpu
SSexplosions.high_mov_atom += cpu
if(EXPLODE_HEAVY)
SSexplosions.medobj += cpu
SSexplosions.med_mov_atom += cpu
if(EXPLODE_LIGHT)
SSexplosions.lowobj += cpu
SSexplosions.low_mov_atom += cpu
..()
// EMPs are similar to explosions, but don't cause physical damage to the casing. Instead they screw up the components