diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-20 12:00:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-20 12:00:13 +0200 |
commit | d15cf7b672ac9911b4e82fed52b4c5e8d4312b0d (patch) | |
tree | 68ab08fafd7e14710ce245a47f3bb518ebf03307 /scene/2d | |
parent | 700938bff772924941c4e1ea61bbfd2abe34d8d2 (diff) | |
parent | 6cbaf7662f5ee3ca1d02c0ebc85854fceee057af (diff) |
Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
Diffstat (limited to 'scene/2d')
-rw-r--r-- | scene/2d/cpu_particles_2d.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 1bddc4d22f..4b309a93b5 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -995,9 +995,6 @@ void CPUParticles2D::_notification(int p_what) { _set_redraw(false); } - if (p_what == NOTIFICATION_PAUSED || p_what == NOTIFICATION_UNPAUSED) { - } - if (p_what == NOTIFICATION_DRAW) { if (!redraw) return; // don't add to render list |