sprite_3d.cpp: fixed buffer access out of bounds.
This commit is contained in:
parent
04362defe7
commit
f44241ce1b
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ SpriteBase3D::SpriteBase3D() {
|
||||||
parent_sprite=NULL;
|
parent_sprite=NULL;
|
||||||
pI=NULL;
|
pI=NULL;
|
||||||
|
|
||||||
for(int i=0;i<4;i++)
|
for(int i=0;i<FLAG_MAX;i++)
|
||||||
flags[i]=i==FLAG_TRANSPARENT;
|
flags[i]=i==FLAG_TRANSPARENT;
|
||||||
|
|
||||||
axis=Vector3::AXIS_Z;
|
axis=Vector3::AXIS_Z;
|
||||||
|
|
Loading…
Reference in a new issue