summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLOuroboros <lunosouroboros@gmail.com>2020-10-12 08:01:19 -0300
committerLOuroboros <lunosouroboros@gmail.com>2020-10-12 08:01:19 -0300
commita28c437b038deba6943c35149f0e4ba6c4198bc9 (patch)
treefd2f0082f2582948fcd25b9909342413ad0f7211
parentf8174470518c02a9a13068770d5e84517fca095d (diff)
eventObj -> objEvent
-rw-r--r--Keep-the-Camera-from-Making-Waves.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Keep-the-Camera-from-Making-Waves.md b/Keep-the-Camera-from-Making-Waves.md
index 9a26e28..7150244 100644
--- a/Keep-the-Camera-from-Making-Waves.md
+++ b/Keep-the-Camera-from-Making-Waves.md
@@ -12,7 +12,7 @@ static void DoGroundEffects_OnSpawn(struct ObjectEvent *objEvent, struct Sprite
u32 flags;
- if (objEvent->triggerGroundEffectsOnMove)
-+ if (objEvent->triggerGroundEffectsOnMove && !eventObj->invisible)
++ if (objEvent->triggerGroundEffectsOnMove && !objEvent->invisible)
{
flags = 0;
UpdateObjectEventZCoordAndPriority(objEvent, sprite);
@@ -29,7 +29,7 @@ static void DoGroundEffects_OnBeginStep(struct ObjectEvent *objEvent, struct Spr
u32 flags;
- if (objEvent->triggerGroundEffectsOnMove)
-+ if (objEvent->triggerGroundEffectsOnMove && !eventObj->invisible)
++ if (objEvent->triggerGroundEffectsOnMove && !objEvent->invisible)
{
flags = 0;
UpdateObjectEventZCoordAndPriority(objEvent, sprite);
@@ -47,7 +47,7 @@ static void DoGroundEffects_OnFinishStep(struct ObjectEvent *objEvent, struct Sp
u32 flags;
- if (objEvent->triggerGroundEffectsOnStop)
-+ if (objEvent->triggerGroundEffectsOnStop && !eventObj->invisible)
++ if (objEvent->triggerGroundEffectsOnStop && !objEvent->invisible)
{
flags = 0;
UpdateObjectEventZCoordAndPriority(objEvent, sprite);