add defines for damage flags

This commit is contained in:
Mieszko Jedrzejczak
2021-08-20 21:09:21 +02:00
parent df51d7370d
commit 559fa37756
183 changed files with 456 additions and 449 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
/obj/structure/spider/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
if(damage_flag == "melee")
if(damage_flag == MELEE)
switch(damage_type)
if(BURN)
damage_amount *= 2