mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 14:13:10 +00:00
Fixed some items caught in cppcheck
This commit is contained in:
parent
524d9fad59
commit
6212946927
@ -292,7 +292,7 @@ SpriteBase3D::SpriteBase3D() {
|
||||
parent_sprite=NULL;
|
||||
pI=NULL;
|
||||
|
||||
for(int i=0;i<4;i++)
|
||||
for(int i=0;i<FLAG_MAX;i++)
|
||||
flags[i]=i==FLAG_TRANSPARENT;
|
||||
|
||||
axis=Vector3::AXIS_Z;
|
||||
|
@ -1216,8 +1216,8 @@ T Animation::_interpolate( const Vector< TKey<T> >& p_keys, float p_time, Inter
|
||||
|
||||
if (p_ok)
|
||||
*p_ok=true;
|
||||
|
||||
int next;
|
||||
|
||||
int next=0;
|
||||
float c=0;
|
||||
// prepare for all cases of interpolation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user