Skip to content

Commit

Permalink
Set the correct special effect for CG_Splash
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmodel committed Jul 23, 2023
1 parent 087d004 commit 9de676a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/cgame/cg_specialfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1006,13 +1006,13 @@ void CG_Splash(centity_t *cent)
}

VectorMA(trace.endpos, dist, diff, end);
sfxManager.MakeEffect_Angles(81, end, start);
sfxManager.MakeEffect_Angles(SFX_WATER_RIPPLE_MOVING, end, start);
} else {
start[0] = 90;
start[1] = 0;
start[2] = 0;

sfxManager.MakeEffect_Angles(80, trace.endpos, start);
sfxManager.MakeEffect_Angles(SFX_WATER_RIPPLE_STILL, trace.endpos, start);
}
}

Expand Down

0 comments on commit 9de676a

Please sign in to comment.