Fixes minor issues found by static analyzer

This commit is contained in:
qarmin 2019-07-07 23:08:51 +02:00
parent d897131ac5
commit 9a77d748c0
26 changed files with 39 additions and 45 deletions

View file

@ -1815,7 +1815,7 @@ T Animation::_interpolate(const Vector<TKey<T> > &p_keys, float p_time, Interpol
next = idx;
}
} else if (idx < 0) {
} else {
// only allow extending first key to anim start if looping
if (loop)