diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2022-09-24 10:21:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-24 14:21:08 -0300 |
| commit | b5a9189cef20a81439cb98475e7502bb89f8fa4a (patch) | |
| tree | ecf533038460fa0fd198281936b66f79c4ff1473 /src/code | |
| parent | 71e4046415cde8c96522101b044dd40c158b61f6 (diff) | |
Effect Deaddb OK (#1037)
* OK
* Add description
* format
* Fix EffectSsDeadDbInitParams size comment
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_effect_soft_sprite_old_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_effect_soft_sprite_old_init.c b/src/code/z_effect_soft_sprite_old_init.c index 35302a22e..09c3621ad 100644 --- a/src/code/z_effect_soft_sprite_old_init.c +++ b/src/code/z_effect_soft_sprite_old_init.c @@ -940,7 +940,7 @@ void EffectSsExtra_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* ac // EffectSsDeadDb Spawn Functions void EffectSsDeadDb_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* prim, - Color_RGBA8* env, s16 scale, s16 scaleStep, s32 unk) { + Color_RGBA8* env, s16 scale, s16 scaleStep, s32 life) { EffectSsDeadDbInitParams initParams; Math_Vec3f_Copy(&initParams.pos, pos); @@ -955,7 +955,7 @@ void EffectSsDeadDb_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* a initParams.envColor.r = env->r; initParams.envColor.g = env->g; initParams.envColor.b = env->b; - initParams.unk_30 = unk; + initParams.life = life; EffectSs_Spawn(play, EFFECT_SS_DEAD_DB, 120, &initParams); } |
