Replaced magic numbers regarding triggerGroundEffectsOnMove to TRUE / FALSE
This commit is contained in:
@@ -8077,7 +8077,7 @@ static void DoGroundEffects_OnSpawn(struct ObjectEvent *objEvent, struct Sprite
|
||||
GetAllGroundEffectFlags_OnSpawn(objEvent, &flags);
|
||||
SetObjectEventSpriteOamTableForLongGrass(objEvent, sprite);
|
||||
DoFlaggedGroundEffects(objEvent, sprite, flags);
|
||||
objEvent->triggerGroundEffectsOnMove = 0;
|
||||
objEvent->triggerGroundEffectsOnMove = FALSE;
|
||||
objEvent->disableCoveringGroundEffects = 0;
|
||||
}
|
||||
}
|
||||
@@ -8094,7 +8094,7 @@ static void DoGroundEffects_OnBeginStep(struct ObjectEvent *objEvent, struct Spr
|
||||
SetObjectEventSpriteOamTableForLongGrass(objEvent, sprite);
|
||||
filters_out_some_ground_effects(objEvent, &flags);
|
||||
DoFlaggedGroundEffects(objEvent, sprite, flags);
|
||||
objEvent->triggerGroundEffectsOnMove = 0;
|
||||
objEvent->triggerGroundEffectsOnMove = FALSE;
|
||||
objEvent->disableCoveringGroundEffects = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user