Kills off three more flags from flags_2 (#37529)

code: More flags have been moved to their appropriate places
SLOWS_WHILE_IN_HAND
FROZEN
NO_MAT_REDEMPTION

all moved to item_flags
This commit is contained in:
vuonojenmustaturska
2018-04-30 01:32:23 +03:00
committed by oranges
parent d9f9368c1d
commit ccf8fc5bc5
23 changed files with 36 additions and 38 deletions
@@ -1115,7 +1115,7 @@ GLOBAL_LIST_EMPTY(roundstart_races)
if(H.back)
. += H.back.slowdown
for(var/obj/item/I in H.held_items)
if(I.flags_2 & SLOWS_WHILE_IN_HAND_2)
if(I.item_flags & SLOWS_WHILE_IN_HAND)
. += I.slowdown
var/health_deficiency = (100 - H.health + H.staminaloss)
if(health_deficiency >= 40)