sprite_3d.cpp: fixed buffer access out of bounds.

This commit is contained in:
orbitcowboy 2014-12-18 10:02:57 +01:00
parent 04362defe7
commit f44241ce1b

View file

@ -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;