Commit 77227f36 authored by VanillaSalt's avatar VanillaSalt

revert part of c9b18c

it breaks effects, like e4 of Venom Swamp, Harpies Hunting Ground
parent 76442092
...@@ -207,8 +207,6 @@ int32 effect::is_activateable(uint8 playerid, const tevent& e, int32 neglect_con ...@@ -207,8 +207,6 @@ int32 effect::is_activateable(uint8 playerid, const tevent& e, int32 neglect_con
if(handler->is_affected_by_effect(EFFECT_CANNOT_TRIGGER)) if(handler->is_affected_by_effect(EFFECT_CANNOT_TRIGGER))
return FALSE; return FALSE;
} else if(!(type & EFFECT_TYPE_CONTINUOUS)) { } else if(!(type & EFFECT_TYPE_CONTINUOUS)) {
if((handler->current.location & LOCATION_SZONE) && !in_range(handler->current.location, handler->current.sequence))
return FALSE;
if((type & EFFECT_TYPE_SINGLE) && code ==EVENT_FLIP){ if((type & EFFECT_TYPE_SINGLE) && code ==EVENT_FLIP){
// flip monster effects can be activated while face-down in LOCATION_MZONE // flip monster effects can be activated while face-down in LOCATION_MZONE
if((handler->current.location & LOCATION_REMOVED) && !handler->is_position(POS_FACEUP)) if((handler->current.location & LOCATION_REMOVED) && !handler->is_position(POS_FACEUP))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment