Merge branch 'maint'

This commit is contained in:
Christoph Oelckers 2013-07-30 15:14:10 +02:00
commit 9c08a029b1

View file

@ -127,7 +127,7 @@ void FTextureManager::DeleteAll()
{ {
if (mAnimatedDoors[i].TextureFrames != NULL) if (mAnimatedDoors[i].TextureFrames != NULL)
{ {
delete mAnimatedDoors[i].TextureFrames; delete[] mAnimatedDoors[i].TextureFrames;
mAnimatedDoors[i].TextureFrames = NULL; mAnimatedDoors[i].TextureFrames = NULL;
} }
} }