diff options
author | LOuroboros <lunosouroboros@gmail.com> | 2020-10-12 07:46:50 -0300 |
---|---|---|
committer | LOuroboros <lunosouroboros@gmail.com> | 2020-10-12 07:46:50 -0300 |
commit | f8174470518c02a9a13068770d5e84517fca095d (patch) | |
tree | 452c5ca8526fac22afef63dac2e72809df77cf5d | |
parent | 5e3d5b7494fad3cca777958b8a651b66a1d87947 (diff) |
Quick grammar correction
-rw-r--r-- | Keep-the-Camera-from-Making-Waves.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Keep-the-Camera-from-Making-Waves.md b/Keep-the-Camera-from-Making-Waves.md index cb9f300..9a26e28 100644 --- a/Keep-the-Camera-from-Making-Waves.md +++ b/Keep-the-Camera-from-Making-Waves.md @@ -62,7 +62,7 @@ static void DoGroundEffects_OnFinishStep(struct ObjectEvent *objEvent, struct Sp ``` ### Alternate Solution -If you some reason you still want other invisible objects to still do ground effects (maybe there's someone with a Cloak of Invisibility walking around, and that use of the ground effects is something you want to indicate where they are), instead of the above, you can check the localId of the object walking around. The camera spawned by `SpawnCameraObject` always has the localId `OBJ_EVENT_ID_CAMERA`, so we can check for that instead: +If for some reason you still want other invisible objects to still do ground effects (maybe there's someone with a Cloak of Invisibility walking around, and that use of the ground effects is something you want to indicate where they are), instead of the above, you can check the localId of the object walking around. The camera spawned by `SpawnCameraObject` always has the localId `OBJ_EVENT_ID_CAMERA`, so we can check for that instead: ```diff - if (objEvent->triggerGroundEffectsOnStop) |