This commit is contained in:
Christoph Oelckers 2013-07-30 15:25:09 +02:00
commit 2cd1fd9658

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