Merge pull request #1987 from PokemonSanFran/cancelGroundEffectsCamera
Added fix to Keep the Camera from Making Waves
This commit is contained in:
commit
af0165a35d
1 changed files with 12 additions and 0 deletions
|
@ -8070,7 +8070,11 @@ static void DoGroundEffects_OnSpawn(struct ObjectEvent *objEvent, struct Sprite
|
|||
{
|
||||
u32 flags;
|
||||
|
||||
#ifdef BUGFIX
|
||||
if (objEvent->triggerGroundEffectsOnMove && objEvent->localId != OBJ_EVENT_ID_CAMERA)
|
||||
#else
|
||||
if (objEvent->triggerGroundEffectsOnMove)
|
||||
#endif
|
||||
{
|
||||
flags = 0;
|
||||
UpdateObjectEventElevationAndPriority(objEvent, sprite);
|
||||
|
@ -8086,7 +8090,11 @@ static void DoGroundEffects_OnBeginStep(struct ObjectEvent *objEvent, struct Spr
|
|||
{
|
||||
u32 flags;
|
||||
|
||||
#ifdef BUGFIX
|
||||
if (objEvent->triggerGroundEffectsOnMove && objEvent->localId != OBJ_EVENT_ID_CAMERA)
|
||||
#else
|
||||
if (objEvent->triggerGroundEffectsOnMove)
|
||||
#endif
|
||||
{
|
||||
flags = 0;
|
||||
UpdateObjectEventElevationAndPriority(objEvent, sprite);
|
||||
|
@ -8103,7 +8111,11 @@ static void DoGroundEffects_OnFinishStep(struct ObjectEvent *objEvent, struct Sp
|
|||
{
|
||||
u32 flags;
|
||||
|
||||
#ifdef BUGFIX
|
||||
if (objEvent->triggerGroundEffectsOnStop && objEvent->localId != OBJ_EVENT_ID_CAMERA)
|
||||
#else
|
||||
if (objEvent->triggerGroundEffectsOnStop)
|
||||
#endif
|
||||
{
|
||||
flags = 0;
|
||||
UpdateObjectEventElevationAndPriority(objEvent, sprite);
|
||||
|
|
Loading…
Reference in a new issue